TCO 1) Which of the following statements is/are true? (TCO 1) Which of the follo
ID: 3605039 • Letter: T
Question
TCO 1) Which of the following statements is/are true?
(TCO 1) Which of the following statements is/are true? A. An object should be con d about how another object performs its duties. Only A and C O B. The words class and object can be used interchangeably in object-oriented programming All are true D. The state of an object is defined as the attributes and behaviors of that object. O C. The implementation details of a class must be visible, so that users of that class are aware of when a change occurred. None are trueExplanation / Answer
Solution:
The state of an object defined as the attributes and it's behaviors.
The words class and object cannot be used interchangeably, an object is an instance of a class.
If the details of a class is visible to the user security will be compromised.
It doesn't matter to an object what another object is performing.
I hope this helps, please let me know in case of any doubt. Thumbs up if this helped.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.