Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

RE: RE: My favorite sodapop is...

by subpop (Sexton)
on Mar 11, 2000 at 02:24 UTC ( [id://5185] : note . print w/replies, xml ) Need Help??


in reply to RE: My favorite sodapop is...
in thread My favorite {soda|pop} is...

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.

Replies are listed 'Best First'.
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