Question: write a Java program that does the following, for the database we should use a text file called db.txt 1. add(ID, Fname, Lname, score): this
write a Java program that does the following,
for the database we should use a text file called db.txt
1. add(ID, Fname, Lname, score): this request adds a new student's information into the database. 2. display(ID): this request sends the ID of a student to the server and the server returns the information of the student. 3. display(score): this request sends a score to the server and the server returns the information of all the students whose scores are above the sent score. 4. display_all: this request displays the information of all the students currently in the database. 5. delete(ID): this request deletes the student entry with that ID.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
