1. (TCO 2) Which of the following statements is/are true?
2. (TCO 2) Java, C#, and C++ all allow for the use of comments. Which of the following represent(s) valid comments in these three languages?
3. (TCO 2) Attributes of a class can be declared as which of the following?
4. (TCO 2) _____ are methods that have the same name as the class they are declared in and are used to initialize attributes
5. (TCO 2) One of the ways object-oriented languages protect object data is through _____.
6. (TCO 2) Attributes that are assigned a private accessor can
7. (TCO 2) An object-oriented class should be designed as a(n) ____ system. In other words, the specific details of a class do not need to be known by a programmer as long as they are aware of the inputs and outputs associated with the class.
8. (TCO 2) Which of the following statements is false about encapsulation?
9. (TCO 2) Given a private attribute called age, which of the following are proper implementations for a getter and a setter?
10. (TCO 2) Identify the setter declaration(s) below that most likely contribute to the concept of information/data hiding.
Comments
Content
1. (TCO 2) Which of the following statements is/are true?
2. (TCO 2) Java, C#, and C++ all allow for the use of comments. Which of the following represent(s) valid comments in these three languages?
3. (TCO 2) Attributes of a class can be declared as which of the following?
4. (TCO 2) _____ are methods that have the same name as the class they are declared in and are used to initialize attributes
5. (TCO 2) One of the ways object-oriented languages protect object data is through _____.
6. (TCO 2) Attributes that are assigned a private accessor can
7. (TCO 2) An object-oriented class should be designed as a(n) ____ system. In other words, the specific details of a class do not need to be known by a programmer as long as they are aware of the inputs and outputs associated with the class.
8. (TCO 2) Which of the following statements is false about encapsulation?
9. (TCO 2) Given a private attribute called age, which of the following are proper implementations for a getter and a setter?
10. (TCO 2) Identify the setter declaration(s) below that most likely contribute to the concept of information/data hiding.