Question 1.1. (TCO 1) Which of the following statements is/are true? (Points : 5)

A. The implementation of a class should be hidden, as best practice.

B. The state of an object is defined as the attributes and behaviors of that object.

C. Striving for the fullest possible interface of a class, incorporating possible future class needs, is the goal when designing a class.

D. An interface of a class defines what messages an object can respond to. All are true None are true Only A and D are true

Question 2.2. (TCO 2) Which of the following components of a class definition can be overloaded? (Points : 5)

A.Any object


C. Static data members

D.All of the above

E.None of the above

Question 3.3. (TCO 5) Which of the following method pairs are not examples of method overloading? (Points : 5)

A.public void dance()

B.public int dance(int x)

C.public int walk(int x, int y)

D.public void walk(int x, int y, int z)

E. public int jump(int x, int y)

F.public void jump(int y, int x)

G. All of the above

G.None of the above