Question: need help with written question, ty Question 5 (8 marks) A Student class has name (String type), student id (int or String type) and exam

need help with written question, ty
Question 5 (8 marks) A Student class has name (String type), student id (int or String type) and exam mark (int type). Design this class. When generating a report of all students, we would like every student's info are arranged in order, for example, Only the student id's are distinct. Students can have the same name or the same exam marks. The priority of the arrangement will be: Exam mark 1st;; followed by the name; and then the id. You can see in the above table, two Tan 1 have the same marks, the ID's are sorted in reversing order (no problem, if you wish the sort to be done in increasing order). In the main class consisting of the main method, demonstrates various lambda and stream capabilities using a Stream> to produce the above display. You can assume that you have the same student objects as above or randomly generated. Store the two classes in a Java program called YourName_Exam_5.java and upload this Java file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
