Multiple Choice
If a programmer writes a class wanting it to be extended by another programmer, then this programmer must
A) change private methods and instance data to be protected
B) change public methods and instance data to be protected
C) change all methods to be protected
D) change the class to be protected
E) none of the above, the programmer does not have to change anything
Correct Answer:

Verified
Correct Answer:
Verified
Q3: All classes in Java are directly or
Q10: Why is it a contradiction for an
Q11: Explain the difference between using an imported
Q13: JApplet is an extension of the Applet
Q15: For the next questions, consider the following
Q17: For the questions below, consider the following
Q19: For the questions below, assume that Poodle
Q20: A variable declared to be of one
Q22: For the questions below, consider the following
Q23: Write the init and paint methods of