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
Q1: Consider the classes below, declared in the
Q4: Superclass methods with this level of access
Q7: Which superclass members are inherited by all
Q7: Which of the following is not a
Q11: To avoid duplicating code,use _,rather than _.
A)inheritance,the
Q12: Private fields of a superclass can be
Q13: The default implementation of method clone of
Q13: Overriding a method differs from overloading a
Q16: Which of the following statements is false?
A)
Q20: An advantage of inheritance is that:
A)All methods
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