multiple inheritance : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

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:

http://mindprod.com/jgloss/multipleinheritance.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\multipleinheritance.html
Canadian Mind Products
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.

IP:[65.110.21.43]
Your face IP:[18.222.67.251]
You are visitor number