composition vs inheritance : Java Glossary


composition vs inheritance
Introduction Disadvantages Of Composition
Advantages Of Inheritance Rules of Thumb
Disadvantages Of Inheritance Links
Advantages Of Composition


Let’s say you wanted to augment the ArrayList class. There are two ways you could do it:

Advantages Of Inheritance

Disadvantages Of Inheritance

Advantages Of Composition

Disadvantages Of Composition

Rules of Thumb

This page is posted
on the web at:

Optional Replicator mirror
on local hard disk J:

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.

Your face IP:[]
You are visitor number