001package headfirst.factory.pizzafm; 002 003public class ChicagoStyleVeggiePizza extends Pizza { 004 public ChicagoStyleVeggiePizza() { 005 name = "Chicago Deep Dish Veggie Pizza"; 006 dough = "Extra Thick Crust Dough"; 007 sauce = "Plum Tomato Sauce"; 008 009 toppings.add("Shredded Mozzarella Cheese"); 010 toppings.add("Black Olives"); 011 toppings.add("Spinach"); 012 toppings.add("Eggplant"); 013 } 014 015 void cut() { 016 System.out.println("Cutting the pizza into square slices"); 017 } 018}