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

Question #9933
Write a program composed of an Interface class Students.java 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 OneStudent.java class. Then write an Abstract class Deprtaments.java 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 ComputerScience.java and ComputerEngineering.java classes that will extend the Departments abstract class. Finally, create the University.java 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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal