Question: You will create a class to keep student's information: name, student ID, and grade. The program will have the following functionality: - The record is
You will create a class to keep student's information: name, student ID, and grade. The program will have the following functionality: - The record is persistent, that is, the whole registry should be saved on file upon exiting the program, and after any major change. - The program should provide the option to create a new entry with a student's name, ID, and grade. - There should be an option to lookup a student from his student ID (this will be the key in the hash table). - There should be an option to remove a particular entry by providing the student ID. - There should be an option to display the whole registry, sorted by student ID. - Remember that the registry must be persistent, so you will have to save all this information to the file system. You may use any of the versions of hash tables implemented in the previous exercise.
Here is my code for it so far, it might not be correct.
public class Student
The 'key' is the student id, and the 'value' is to call the object Student to get the name and letter grade.
I don't understand how to make the registry "persistent'.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
