in reply to
My favorite {soda|pop} is...
I move to declare coffee a subtype of soda... or, put Root Beer up there. Either way, doesn't matter, for "all was created from /dev/null and shall return to /dev/null..."
Comment on
RE: My favorite sodapop is...
Replies are listed 'Best First'.
RE: RE: My favorite sodapop is...
by
subpop
(Sexton)
on Mar 11, 2000 at 02:24 UTC
coffee can't be a subtype of cola for it has the properties of 'hot' and the methods of 'brew'. All can be subtypes of caffiene I suppose.
[reply]
RE: RE: RE: My favorite sodapop is...
by
Anonymous Monk
on Mar 14, 2000 at 23:11 UTC
They would actually both be child classes of beverage, and would share the private value of caffeinated. -E2
[reply]
In Section
Past Polls