multiple inheritance : Java Glossary


multiple inheritance
Java does not support multiple inheritance, allowing a class to extend more than one base class. It does however, support implementing multiple interfaces, which is similar to multiple inheritance but simpler and safer. Inheritance describes an IS-A relationship. Dalmatian IS-A Dog. You can also have HAS-A relationships. A Body HAS-A Leg. HAS-A relationships are implemented with embedded references to other objects. HAS-A relationships are more flexible. An object can have multiple HAS-A relationships. It can even have a variable number of them, by having a reference to an array or ArrayList of references.

This page is posted
on the web at:

Optional Replicator mirror
on local hard disk J:

Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number