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
Q3: Which of the following is not a
Q14: For the questions below, use the following
Q15: The instruction super( ); does which of
Q17: Aside from permitting inheritance, the visibility modifier
Q20: For the questions below, consider the following
Q21: Abstract methods are used when defining
A) interface
Q21: As described in the Software Failure, the
Q22: If you instantiate an Abstract class, the
Q23: For the questions below, assume that Student,
Q31: All classes in Java are directly or
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