The Artima Developer Community
Sponsored Link

Composition versus Inheritance
A Comparative Look at Two Fundamental Ways to Relate Classes
by Bill Venners
First Published in JavaWorld, October 1998

<<  Page 4 of 5  >>


Comparing composition and inheritance
So how exactly do composition and inheritance compare? Here are several points of comparison:

<<  Page 4 of 5  >>

Sponsored Links

Copyright © 1996-2018 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use