Question: Java program StudentViewer Instructions: Write a JavaFX program called StudentViewer which allows a user to view and edit information about Students which is held in
Java program StudentViewer
Instructions: Write a JavaFX program called StudentViewer which allows a user to view and edit information about Students which is held in the file students.bin. The program should first open the file and read all the students into a list using an ObjectInputStream. A GUI should allow the user to enter a new student, modify an existing one or scroll through the list (previous/next). If the user has modified the list with an add or edit, then the program should write back to students.bin before exiting.
Write a JavaFX public class Student implements java.io.Serializable { String lname;
String fname; String major; int id; int credits; int age; double gpa;
// Add any additional methods as required (getters/setters) }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
