Multiple Choice
Which of the following statements is (are) true? a) We can use inheritance to customize existing software.
b) A superclass specifies commonality.
c) A superclass can be modified without modifying subclasses
d) A subclass can be modified without modifying its superclass.
A) All of the above.
B) None of the above.
C) A,B and C.
D) A,B and D.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: When a subclass constructor calls its superclass
Q5: Private fields of a superclass can be
Q6: Class _ represents an image that can
Q7: An advantage of inheritance is that:<br>A)All methods
Q8: Which superclass members are inherited by all
Q10: Which of the following is not a
Q12: To avoid duplicating code,use _,rather than _.<br>A)inheritance,the
Q13: The default equals implementation of class Object
Q14: Using the protected keyword gives a member:<br>A)public
Q19: Failure to prefix the superclass method name