Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. (TCO 1) Object-oriented programming generally focuses on _____. (Points : 5)

ID: 3670599 • Letter: 1

Question

1. (TCO 1) Object-oriented programming generally focuses on _____. (Points : 5)        A. separating the interface from the implementation.
       B. client side access to implementation details.
       C. information hiding.
       D. reuse of code.
       All of the above
       Only A and B
       Only A, C, and D

       Address
       Item
       Credit
       All of the above
       None of the above

Question 2. 2. (TCO 2) Which of the following components of a class definition have a return type? (Points : 5)        Constructors
       Overloaded constructors
       All of the above
       None of the above

Explanation / Answer

1. Only A, C, and D

2. None of the above

3. C.    public int jump(int x, int y) public void jump(int y, int x)

Method overloading occurs when the methods have the same name butdifferent number and types of parameters. The return type does not play arole in method overloading

4. All of the above

5. volume

6. None of the above

7.outputs

8. Both A and D

9. All of the above

10. Parent classes are usually more specific than child classes.

11.class Cylinder is derived from GeometricObject.

12.None of the above