A good answer might be:

No. Inheritance goes in only one direction.


Is-a Relationship

The picture shows a parent class and a child class. The line between them shows the "is-a" relationship. The arrow points to the parent class from the child class. The picture can be read as "a Ford is-a automobile."

The phrase "is-a" is in common use in computer science. The arrow between a child and parent is sometimes called an "is-a link".

The clouds represent classes. The picture does not show objects.

Inheritance is between classes, not between objects.

A parent class is a blueprint that is followed when an object is constructed. A child class of the parent is another blueprint (that looks much like the original), but with added features. The child class is used to construct objects that look like the parent's objects, but with added features.

QUESTION 5:

How many objects of a given class can be constructed? (Hint: how many houses can be build from one blueprint?)