1. (TCO 1) Which of the following statements is/are true? (Points : 2) A. An obj
ID: 3645664 • Letter: 1
Question
1. (TCO 1) Which of the following statements is/are true? (Points : 2)
A. An object should be concerned about how another object performs its duties.
B. The words class and object can be used interchangeably in object-oriented programming.
C. The implementation details of a class must be visible, so that users of that class are aware of when a change occurred.
D. The state of an object is defined as the attributes and behaviors of that object.
All are true
None are true
Only A and C
2. (TCO 1) The components of a class are called the _____ of that class. (Points : 2)
elements
members
objects
properties
3. (TCO 1) A class is a _____, which encapsulates _____ and _____. (Points : 2)
programming language construct; attributes; behavior
field; objects; members
template; methods; behavior
All of the above
None of the above
4. (TCO 1) All objects of the same class _____ copy of the attributes and methods. (Points : 2)
Explanation / Answer
The words class and object can be used interchangeably in object-oriented programming. members template; methods; behavior pass other objects a Two copies, each object has its own copy All of the above
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.