How to develop a running java GUI application as a solution to a computing problem?
The application must incorporate OOP concepts and techniques.
The PizzaBase restaurant wants to automate the ordering of pizzas by customers. Each table will be fitted with a touch-sensitive screen which customers can use to browse the pizzas on offer and select their choice. Two basic types of pizza will be offered: the Do-it-Yourself will have a base with tomato sauce only and then customers can choose any number of toppings, at a fixed price per topping; the Prefab will come in several varieties, each with a fixed set of toppings. Every pizza can be ordered with a deep crust or crispy base, and three sizes are available: 6 inch, 9 inch and 12 inch. Customers will also be able to order from a fixed set of drinks, such as cola and lemonade flavors, each in large or small size. Once customers have confirmed their order, they will be shown the final price and, thereafter, the screen will display the progress of their food as it is being prepared and cooked. At the end of a meal, payment will be made in the conventional way.
1. Single out distinct objects in the problem.
2. Write a Java code by applying appropriate associations, inheritance, polymorphism, abstract classes, or exceptions based on the relationship of the classes and objects in the problem.
3. You can provide a UML diagram for this problem.
Alvin Delin wrote:. . . 1. Single out distinct objects in the problem. . . .
That would appear to be the first stage in solving your assignment; how far have you got with it? If I had that sentence as an assignment, I would find two things in it to single out: object and problem.