Home Segments Index Top Previous Next

234: Mainline

Note that the Food class must be defined before you define the Vegetable, Dairy, Food, or Grain classes as subclasses of the Food class. You cannot define a class until its direct superclass has been defined.