Answered step by step
Verified Expert Solution
Link Copied!

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
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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago