[596] in Coldmud discussion meeting

root meeting help first first in chain previous in chain previous next last

Re: A subtle ingeritence question.

daemon@ATHENA.MIT.EDU (Fri Nov 25 16:29:16 1994 )

From: cadams@weather.Brockport.EDU
To: jeffpk@netcom.com (Jeff Kesselman)
Date: Fri, 25 Nov 1994 15:58:51 -0500 (EST)
Cc: coldstuff@MIT.EDU
In-Reply-To: <199411250637.WAA21336@netcom16.netcom.com> from "Jeff Kesselman" at Nov 24, 94 10:37:38 pm

what Jeff Kesselman really MEANT to say was:
> 
> This is a fairly sublte question regarding inheritence:
> 
> Object A
>    has method foo
>    has method bar which calls foo
> 
> Object B
>    is a child of Object A
>    has method foo
> 
> B.bar() will call WHICH foo when invoked?

B.bar() will call B.foo()