Question: in java You are to write 2 Comparable classes: one called Student that will include a student's first name, last name and an 8-character ID
in java You are to write 2 Comparable classes: one called Student that will include a student's first name, last name and an 8-character ID in the format S#######. one called Faculty that will include a faculty member's first name, last name and an 8-character ID in the format F#######. Your class must include "toString", "equals", and "compareTo", as well the usual sets and gets. Your compare should compare by last name, and if they are the same, first name. Your equals should compare IDs. Your program will be written to manage 2 BSTs: one for faculty and one for students, and should be able to insert, delete and display the current list of students and faculty. Your program should use the "toString" method to SORT the lists. The program should save the list to text files, Student.txt and Faculty.txt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
