An advantage of inheritance is that:
A) all methods can be inherited
B) all instance variables can be uniformly accessed by base classes and derived classes
C) Objects of a derived class can be treated like objects of their base class
D) None of the above.
Correct Answer:
Verified
Q8: A class inherited from two or more
Q9: Which of the following is not a
Q10: A derived class can effect state changes
Q11: A base class may have only one
Q12: Which of the following pairs demonstrates the
Q14: A class that inherits from another class
Q15: A derived class is often larger and
Q16: The process of abstraction allows you to
Q17: Members of a base class that are
Q18: Every object of a base class is
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