Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Case Studies In Business Data Bases

Authors: James Bradley

1st Edition

0030141346, 978-0030141348

More Books

Students also viewed these Databases questions

Question

10. Microsoft Corporation

Answered: 1 week ago

Question

4. EMC Corporation

Answered: 1 week ago