380
99.9
Mar 01, 2012
I have not seen the full source of the
Beverage class, but an abstract class provides a base framework (optionally
with partial implementation) that other classes can share via inheritance. In the
above case, Beverage case can be abstract too since it is not instantiated and
provides base properties for beverages.
Hope this helps?