Question: (ignore exercise 3) Exercise 2: Develop an application that can store and manage information about students taking courses at a university First create a Student



(ignore exercise 3)
Exercise 2: Develop an application that can store and manage information about students taking courses at a university First create a Student class (similar to Expense.java) that can hold the following pieces of information: Student ID First Name Last Name Email Major Faculty Add appropriate methods to this class. Next create a StudentList class (similar to ExpenseList.java) that has as its attribute an unordered list of student records, and the following methods Add a student record to the list: public void addRecord(Student s) Delete a student record with the specified ID number: public void deleteRecord(int ID) Display records of all the students taking a specifiied major: public void displayMajors (String major) Display records of all students belonging to a particular faculty public void displayFaculty(String faculty) Display records of all students with the specified last name public void displayName (String lName) .Search for a student's record given an ID number: public Student searchID(int ID) You may add other methods as necessary Next, create a client demo program (similar to ExpenseListDemo.java) that reads a file such as the one given below, creates an unordered list, and demonstrates all the methods that you have developed. The text file has the Student ID number, First name, Last name, email address, Major and Faculty of one student on each line. Each item on the line is separated by a space
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
