Question
Now that you've implemented the hash tables you will use to implement a ver simple registry for students' records. You will create a class to
Now that you've implemented the hash tables you will use to implement a ver simple registry for students' records. 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.
This is for java
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