Inheritance implements the “has a” relationship between classes.
The term composition refers only to music classes.
A superclass is an extra large class.
A method in a subclass must not have the same name as a method in its superclass.
Composition implements the “has a” relationship between classes.
The word super can be used to invoke a superclass constructor.
The ability of a family of related classes to each implement their own version of a method is an example of polymorphism.
It would be appropriate for a Garden class to extend a Lawn class.
It would be appropriate for a Dog class to extend a Cat class.
It would be appropriate for a MobilePhone class to have an attribute of type KeyPad where KeyPad is a class.