Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
eg
public class ChangeMaker
public static void mainString args
All decimal values must be displayed in two decimal points g instead of
The code submitted must be defectfree 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 Interfacefeatures:
Register Vehicle Should ask for Vehicle and Ower information and create a registration
Register Citation Should ask for Vehicle license and create citation
List All Registrations
List All Citations
List all Registrations for a vehicle
List all Registrations for a person
List all Citations for a vehicle
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:
You should handle all errors and exceptions and your program must not crash eg when creating a citation, display an error if the vehicle was not found
A vehicle can have multiple registrations but only one registration will be active at any given time ie if you find a valid registration where the registration had not expired then throw an error and do not create a new registration
A vehicle can have multiple citations
A vehicle must not be allowed a new registration if one or more citations are still pending payment
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started