February 2016
Beginner to intermediate
500 pages
187h 36m
English
Inheritance.
public and protected.
is-a or inheritance.
has-a or composition.
hierarchical.
public.
constructor.
super.
True.
False. A has-a relationship is implemented via composition. An is-a relationship is implemented via inheritance.
False. This is an example of a has-a relationship. Class Car has an is-a relationship with class Vehicle.
False. This is known as overriding, not overloading—an overloaded method has the same name, but a different signature.
Read now
Unlock full access