Question
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
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 develop a VRecord class to include vID, StudentID 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 paramters) 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.
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