Question: Program in Java: Implement multi-linked list structure using a GUI. When your program starts up, it should build the structure from a file called names.txt.

Program in Java: Implement multi-linked list structure using a GUI. When your program starts up, it should build the structure from a file called names.txt. The format of the file is: name course

For example: Shawn Writing

Trent Science

After building the structure, a menu (GUI) should appear on the screen. The menu items should be : 1. Find all students in a course 2. Find all courses for a student 3. Add a student to a course 4. Exit The user should be able to continue making choices until they exit. When exited, the updated data should be written to a new file, names1.txt (So the info from the old file plus any additions). Input should not be case sensitive nor should the user be allowed to add duplicate entries. You should index into the structure with sorted arrays and a binary search.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!