Skip to content

Object Oriented Programming class third term project

License

Notifications You must be signed in to change notification settings

ahmeddwalid/OOP-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OOP Project

Ahmed Walid

Ahmed Mohamed

Alsayed Aly

Simple ordering system
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Features
  3. The UML
  4. The Code
  5. The Runtime
  6. Contributing
  7. License
  8. Contact
  9. Acknowledgments

About The Project

In this project a simple ordering system is implemented in which the user has a shopping menu displayed with the following:

  • Main menu:
Pizza, $40
Cheeseburger, $20
Coffee, $5
Soda, $4
Water, $2
  • Takes input from the user that represents each item and its quantity.
  • Adds the items with their quantities to the user’s shopping cart.
  • On checkout, takes input from the user representing their payment method (PayPal or CreditCard).
  • Calculates and displays the amount of the order to the user and performs the payment using the method determined by the user and displays a confirmation message of the payment status (success or failure).

(back to top)

Features

  • UML diagram
  • JOptionPane is used for the GUI to display and take inputs from the user
  • Added abstract classes
  • Added polymorphism
  • Added screenshots of the run

(back to top)

The UML

Unified Modeling Language

(back to top)

The Java code

MyClass.java