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
Q24: Java does not support multiple inheritance but
Q25: Inheritance through an extended (derived) class supports
Q26: Which of the following is an example
Q27: Example Code Ch 09-5
Consider the following class
Q28: Which of the following is correct?
A) a
Q30: Example Code Ch 09-5
Consider the following class
Q31: All classes in Java are directly or
Q32: Example Code Ch 09-5
Consider the following class
Q34: If you instantiate an abstract class, the
Q34: Which of the following is true about
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents