Answer to Question #9933 in Java | JSP | JSF for arraylist

Question #9933
Write a program composed of an Interface class having the necessary
variable declarations and setters and getters methods to represent the following
information for students: name, surname, yearClass, course, GPA. Define the interface
class in class. Then write an Abstract class that its
constructor will instantiate an ArrayList myStudents to store all Students objects. This
class should also have a setter and getter method for handling the arraylist. Then create
the and classes that will extend the
Departments abstract class. Finally, create the class that will prompt the
user to choose from a menu one of the following:
 Create a new student and based on his course add him into the appropriate
department. (Tip: each department will have an arraylist for their student, each
time a new student is to be entered, get the arraylist, add the student and the set
the arraylist back to the deprtment.)
 Choose a department to display all its students’ information.
 Choose a department to display the average GPA of its students.
 Find a student based on his name and surname. Display all student’s info
otherwise display that the student does not exist.
 Choose a classYear to display all students on that year from both departments,
separating them based on their department.
 Exit program
Expert's answer
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be the first!

Leave a comment

Ask Your question

New on Blog