Question: write a static method that tracks minimum math grade among all students. The code cotains TODO comments which indicate that you need to add code

write a static method that tracks minimum math grade among all students.
The code cotains "TODO" comments which indicate that you need to add code there.
After youre done uncomment the line in main() method.
java
write a static method that tracks minimum math grade among all students.
The code cotains "TODO" comments which indicate that you need to add
code there. After youre done uncomment the line in main() method. java
Main.java 1) TODO: uncomnent the print in below after writing printMinkathgrade nethod.

Main.java 1) TODO: uncomnent the print in below after writing printMinkathgrade nethod. It should arint sonething like If TODO: uncomnent the println betow after writing printMinkathGrade wethod. It should print scecthing tike 1/ "Minimun grade so far is: cain values" (in this case, itt's 56 because charlie has minimin gradel Student, printMinMathGrade(): 3 class student 1 private static int studentcounter =; private static int maxMathGrade =8 11. TODO: Add sosething here to track mininum sath grade. private String nane: f/ roop: Add something here to track mininun math grade private String nane; private int mathGrade: public Student(5tring _name, int mathorade)\{ name = nane; mathGrade = mathGrade; studentCounter +e 1 ; 1) Track maximuan math grade anong students if (nathGrade > maxtetathade) \{ niaxMathGrade = nathGrade; J 1/ TOD0; Add something here to track aininum math grade so far 49 41 1f. Tob0: Add sonething here to track mininum math grade so far 3 public static void printcounterAndMaxyathgrade() (. 3

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 Databases Questions!