The Artima Developer Community
Sponsored Link

Inheritance by delegation..

Advertisement

Advertisement

This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Inheritance by delegation..

Posted by Natraj Gujran on 21 Oct 1998, 7:34 PM

First, the shown method of substituting composition for inheritance is the standard way VB does inheritance (except,of course an 'implements' clause which forces the subclass to have all methods provided by the parent.
They call it 'inheritance by delegation' . I've seen developers snorting at this 'inferior' method of doing things... including me. :-)


More on the inheritance/delegation talk :

I was trying to answer the questions posed by the author
and came up with this

Replies:


Sponsored Links



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