Multiple Choice
If a programmer writes a class that he wants 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 the methods to be protected
D) change the class to be protected
E) None of these; the programmer doesn't have to change anything
Correct Answer:

Verified
Correct Answer:
Verified
Q1: If you instantiate an abstract class, the
Q4: Which of the following is true about
Q5: Example Code Ch 09-4<br>Given the following partial
Q6: Java does not support multiple inheritance but
Q7: The instruction super(); does which of the
Q8: Example Code Ch 09-1<br>Consider the following class
Q10: Why is it a contradiction for an
Q11: Explain the difference between using an imported
Q13: Example Code Ch 09-5<br>Consider the following class
Q14: The JavaFX API offers the programmer controls