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 as objects of their base class
D) None of the above.
Correct Answer:
Verified
Q3: Which of the following pairs demonstrates the
Q4: To avoid duplicating code (and possibly errors),use
Q5: _ is a form of xe "code
Q5: Inheritance is represented by a(n)_ relationship.
A) "uses"
B)
Q7: Which of the following could be a
Q10: A derived class can add its own
Q11: A base class may have only one
Q11: Every class in Visual Basic except _
Q12: A base class is more specific than
Q32: A base class's constructors are inherited into
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