methods yod deplen the returned ardant an the yased in the format shown below: the merece of each ihudent marimun quir prade fer each itusert. werare di cach palr.Given that the first line has the number of students, write a lava program that reads the data from grades,tut into an integer 10-array of student iDs and corresponding quiz grades in a paralle120-Array of type double. The program then calls each one of the following static methods and displays the returned arrays on the soreen in the format shown below: - studentAverage that receives the 2D array of grades and returns a 1D-array containing. the average of each student. - maxQuizGrade that receives the 20 array of grades and return a 10-array containing the maximum quiz grade for each student. - quiaAverage that receives the 20 array of grades and returns a 10 -array containing the average of each quiz. Program outputz.