Multiple Choice
What does a subclass inherit from a superclass?
A) Instances and attributes
B) Data and methods
C) Methods and instances
D) Attributes and methods
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q5: When a class inherits another class,it is
Q6: The term _ refers to an object's
Q8: When there are several classes that have
Q11: A subclass may not override any method
Q16: Superclasses are also called _ classes.
Q17: New attributes and methods may be added
Q21: When a subclass method has the same
Q23: Base classes are also called _.<br>A) superclasses<br>B)
Q24: _ allows subclasses to have methods with
Q36: A subclass is also called a(n)_ class.