Re: Abstract classes and methods
Re: Abstract classes and methods
- Subject: Re: Abstract classes and methods
- From: Chris Gehlker <email@hidden>
- Date: Wed, 29 Aug 2001 07:52:50 -0700
On 8/29/01 5:55 AM, "Ondra Cada" <email@hidden> wrote:
>
Either the Shape class would have no -initWith... and +shapeWith...methods;
>
if so, nobody would try to instantiate it directly anyway. Or it might have a
>
number of -initWith... and +shapeWith... methods which actually return
>
subclasses, and we are speaking class clusters.
Thanks big time Ondra. Before is understood class clusters through a glass,
darkly, because no one had ever provided an example. I see now how class
clusters substitute for virtual classes.
--
Many individuals have, like uncut diamonds, shining qualities beneath a
rough exterior. - Juvenal, poet (c. 60-140)