Re: Abstract classes and methods
Re: Abstract classes and methods
- Subject: Re: Abstract classes and methods
- From: Ondra Cada <email@hidden>
- Date: Fri, 31 Aug 2001 12:35:44 +0200
Brent,
>
>>>>> Brent Gulanowski (BG) wrote at Fri, 31 Aug 2001 00:40:02 -0400:
BG> As a side note, in Java, Ondra's "place-holder" could be provided by
BG> subclassing the abstract class and implementing any abstract methods with
BG> dummy return values.
Sorry, but I'd call that a very nice example of scratching behind my right
ear with my left hand, forced by a clumsy language design.
Putting a NSString containing "Shape" into the container would be easier in
this case. Oh, I forgot -- Java's arrays are not polymorphic, or are they? I
admit I don't know Java well; when I learnt that it does not contain
categories, can't support class methods, and have no means of message
forwarding, I've quit learning the thing...
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc