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  >>

Advertisement

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

<<  Page 4 of 5  >>


Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2017 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us