// DrJava saved history v2 Client c= new Client(); ICommand c1 = new Command1(); ICommand c2 = new Command2(); c.setCommand(c1); c.run(4); c.run(4); c.run(4); c.run(4); c.run(4); c.run(4); c.setCommand(c2); c.run(4); c.run(4); c.run(4); ICommand cf = new CommandFrame(); c.setCommand(cf); c.run(6); c.run(6); c.run(6); c.run(6); Person corky = new Vegetarian(); Person stephen = new Carnivore(); IRestaurant voltaire = new ChezZung(); corky.order(voltaire, 3); Person corky = new Vegetarian("Herman"); Person stephen = new Carnivore("Harvey"); IRestaurant voltaire = new ChezZung(); corky.order(voltaire, 3); Person corky = new Vegetarian("Herman"); Person stephen = new Carnivore("Harvey"); IRestaurant voltaire = new ChezZung(); corky.order(voltaire, 3); stephen.order(voltaire, 5);