Question: JAVA problem An e - learning platform like Moodle manages student accounts. Students have usernames, email and are associated to a number of courses. For

"JAVA problem
An e-learning platform like Moodle manages student accounts. Students have usernames, email and are associated to a number of courses. For passed courses the platform records the final grade. Student exposes a method getAverageGrade() which returns the average grade for passed courses.
The courses must be distinct (no repeated course) for a user (must have unique names). Also the QP08 students must be comparable after their name or email.
The moodle class manages the collection of users. The moodle class has a method Map toMap() which returns a map that specifies how many courses does each student have.
You can use classes from the Collection framework in Java. The grade takes into consideration the proper use of generics, immutable classes, and the proper choice of the collection classes.
Implement all classes and copy the implementation below. Make sure to correctly implement (if required) Comparable interface, hashCode and equals methods."

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!