Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA) Please solve this one. I need output too. Thank you Student Record Manager Create a program to maintain a list of students and their

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

JAVA) Please solve this one. I need output too. Thank you

Student Record Manager Create a program to maintain a list of students and their grades. Each student should contain the following attributes: a. First name b. Last name c. ID d. Email address e. List of courses taken by the students and their grades (Course description and grade). Class design requirements: Your program should contain the following classes. class StudentRecordManager: A class that contains the list of students with the following requirements: Add a student, remove a student, and search for a student by ID or last name. Search by ID should return a single student, but a search by name should check both first name and last name and return a list of student that contain the search string in their name. Add a course to a student and remove a course from the student. getIterator method returns an iterator that allows an external class to iterate through the list of students and process them. The getIterator method returns an iterator that implements the following interface: interface Iterator { E getNext(); boolean hasNext (); // Get the next item //Returns true if has more //items, false otherwise. } class Student: A class to manage the student information. Make a concise list of required attributes necessary for assignment. The Student class should also return an iterator that implements the Iteraror interface and allows you to iterate through the list of courses a student has taken. class Course: An inner class to maintain the course details for each student. class Transcript Printer: A class that prints the transcripts. It has the following overloaded methods: printTranscript that takes a Student as argument and prints the transcript for the specified student. printTranscript that takes a Iterator a list of student IDs as arguments and prints the transcript for the specified students. Use copy constructors in the Student and Course classes to prevent privacy leaks. Privacy leak occurs when you expose a private variable by returning a reference to the private variable in a accessor method

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

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

ISBN: 0782125395, 9780782125399

More Books

Students also viewed these Databases questions

Question

When graphing r=9cos(40), the cos(40) 0 on the interval [ 4

Answered: 1 week ago

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago