class Cake extends BakedItem {

   public double price() {
      return (BASE_RATE * layers) * quantity;
   }

   public  Cake(String nameIn, String flavorIn, int quantityIn, 
                        int layersIn, String ... ingredientsIn);

}