Question: Your Java file names must be the same as requested in each of the coding challenges listed on the following pages All Java classes must

Your Java file names must be the same as requested in each of the coding challenges listed on the following pages
All Java classes must be declared as public
e.g.
public class ChangeMaker {
public static void main(String[] args){
All decimal values must be displayed in two decimal points g.13.23 instead of
13.2356735677.
The code submitted must be defect-free e., it must compile and function according to the requirements
You will implement the UML diagram provided above and deliver an application with the following User Interface/features:
1- Register Vehicle (Should ask for Vehicle and Ower information and create a registration)
2- Register Citation (Should ask for Vehicle license and create citation)
3- List All Registrations
4- List All Citations
5- List all Registrations for a vehicle
6- List all Registrations for a person
7- List all Citations for a vehicle
8- List all Citations for a person
The above UML diagram is for reference only. If you think more classes are needed then please add them.
NOTE:
1- You should handle all errors and exceptions and your program must not crash e.g. when creating a citation, display an error if the vehicle was not found
2- A vehicle can have multiple registrations but only one registration will be active at any given time i.e. if you find a valid registration where the registration had not expired then throw an error and do not create a new registration
3- A vehicle can have multiple citations
4- A vehicle must not be allowed a new registration if one or more citations are still pending payment
 Your Java file names must be the same as requested in

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!