Question: So im working on a java program for one of my classes and i need to make a booking system for driving road test. I

So im working on a java program for one of my classes and i need to make a booking system for driving road test. I want to have like 5 already existing users hard coded. I want this code to be simple, nothing too hard. Make sure you go through the program description as i explained the part nicely. I also made a class digram that you can use if you want. Remember this code should be on Java, and make it simple. One more thing, if you want to get a good understanding of how the booking system should look like, you can go on the ontario booking road test, but i dont think youll need it.
The hard coded objective should have the users full name, address, and drivers license number
I will give you a thumps up.
Program Description:
1. User being verified
Existing Users: When the program starts, the users will be asked to enter their driver's license number to verify their identity. The License number should look like something like S6101-50707-51120
If the driver's license number matches an existing entry in the database, the user is verified and proceeds to the appointment booking.
If there is no match, the user will need to register
New users will need to register inro the system by entering their name, email address, driver's license number, and its expiry date. Once they are registered in the system then these details are added to the system's database where if they want to access their data they can.
New users will also be asked to enter their class level in order to book an appointment. Which is G2 or G
2. Booking an Appointment
Once they put in their drivers license number and is verified, then the users can book a road test for classes G or G2.
The system displays available dates and times for appointments in real time, and the user will select their preferred date and time for the test.
3. Appointment confirmation
Once they picked an appointment, the user will be asked to double check their date time before confirming.
Once its confirmed, the appointment details includes like the date and time, which is being displayed to them. After that it will ask the user if they want to get the confirmation email to be sent to the user's registered email address. The email will include their name, driver license details, and the appointment details.
4. Managing appointments
If the users need to reschedule or cancel their appointment, they can do so by re entering their driver's license number or their full name to access their booking.
If they decide to change their appointments, they would need to do it before 24 hours, then it'll be updated in with our real time and reflected in the system right after.
The user should be able to book once, not twice.
5. Help and support
During the step, if the user gets stuck then the code will give them an option where they can call a support number, which will be an option and when they click that itll give them a code like C51221, and they can visit the booking center with a code generated by the system for further help. Once they click that part, itll print how some steps that can help them and it'll ask if they want to restart their code or continue entering their drivers license number to be verified
6. System Loop
The system continuously loops to accommodate new bookings, rescheduling, or cancellations. All appointments are stored in an array
Class digram is in the picture
 So im working on a java program for one of my

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!