Objectify the World Create a University, Classroom and Student classes. The University has a pick out as a String, and two instances of Classroom. A Classroom has a broad range of chairs as integer and 4 instances of Student. A Classroom moreover has an Average GPA as a floating-point vary which is the frequent GPA of all its students. A Student has a title as a String and a GPA as a floating-point number. All Objects must initialize their variables in the constructor. All classes have to have a to String method that describes them and all their event variables. Write a software that prints a University. (provide any values of your desire in the essential function like the title of the university, GPAs of students, etc) Using java language
4
Objectify the World Create a University, Classroom and Student classes. The University has a pick out as a String, and two instances of Classroom. A Classroom has a broad range of chairs as integer and 4 instances of Student. A Classroom moreover has an Average GPA as a floating-point vary which is the frequent GPA of all its students. A Student has a title as a String and a GPA as a floating-point number. All Objects must initialize their variables in the constructor. All classes have to have a to String method that describes them and all their event variables. Write a software that prints a University. (provide any values of your desire in the essential function like the title of the university, GPAs of students, etc) Using java language
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images