Develop a flight booking cli system.
- Option 1 Add new Flight
- Option 2 Display all flights
- Option 3 Display Booked Flights
- Option 4 Display flight for a specific user
- Option 5 Book a flight for a user using his id
- Option 6 Cancel a flight
Add and remove options according to your application.
When booking a new flight you should your system should ask the user for his personal information such as name, email, phone number and passport number. Each user must have unique identifier (id) which must be generated by the system.
There is no right or wrong implementation discuss as a team the functionality and how you want your system to behave.
- Think about the POJOs classes you might need such User...
- Think about the service classes you might need for business logic...
- Make sure to use packages to organise your code.
- User the right naming conventions. for classes, methods and packages
- Store Data to a file instead of an Array or List