What does a subclass inherit from a superclass?
A) instances and attributes
B) objects and methods
C) methods and instances
D) attributes and methods
Correct Answer:
Verified
Q6: When a class inherits another class,it is
Q7: An "is a" relationship exists between a
Q8: One problem with using a UML diagram
Q9: In an inheritance relationship,what is a specialized
Q10: Base classes are also called
A) superclasses
B) derived
Q12: When there are several classes that have
Q13: Polymorphism works on any two class methods
Q14: A superclass inherits attributes and methods from
Q15: _ allows a new class to inherit
Q16: _ has the ability to define a
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