composition vs inheritance : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

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

Introduction

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:

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

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

J:\mindprod\jgloss\compositionvsinheritance.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:[52.15.217.86]
You are visitor number