All java files will need to be saved in a single folder named as Student ID and Name to be submitted as a single .zip file on course Moodle page. Q1. KOI needs a new system to keep track of...

1 answer below »

All java files will need to be saved in a single folder named as Student ID and Name to be submitted as a single .zip file on course Moodle page.


Q1. KOI needs a new system to keep track of vaccination status for students. You need to create an application to allow Admin to enter Student IDs and then add as many vaccinations records as needed. In this first question, you will need to create a class with the following details.


· The program will create a VRecord class to include vID, Student ID and vName as the fields.


· This class should have a Constructor to create the VRecord object with 3 parameters


· This class should have a method to allow checking if a specific student has had a specific vaccine (using student ID and vaccine Name as parameters) and it should return true or false.


· The tester class will create 5-7 different VRecord objects and store them in a list.


· The tester class will print these VRecords in a tabular format on the screen


Q2. Continuing with the same VRecord class as in Q2. Program a new tester class that will use the same VRecord class to perform below tasks


· This new tester class will ask the user to enter a student ID and vaccine name and create a new VRecord object and add to a list, until user selects 'No" to enter more records question.


· The program will then ask the user to enter a Student ID and vaccine name to check if that student had a specific vaccination by using the built-in method and print the result to screen.

Answered Same DayMay 11, 2022

Answer To: All java files will need to be saved in a single folder named as Student ID and Name to be submitted...

Aditya answered on May 12 2022
102 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here