Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package prep_29_iteratorpattern;
- public class TestApp {
- public static void main(String[] args) {
- PancakeHouseMenu pancakeHouseMenu = new PancakeHouseMenu();
- DinerMenu dinerMenu = new DinerMenu();
- Waitress waitress = new Waitress(pancakeHouseMenu, dinerMenu);
- waitress.printMenu();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement