Multiple inheritance (cont'd)

An amphibious airplane is a boat and it is an airplane.

Both are vehicles.

However a car-phone is not a car and a telephone.

Be careful with inheritance, particularly multiple inheritance.

Don't overuse it.

Don't use it at all unless you really understand the ramifications.