design a java program named gradecount java then implement the following method publ 5151006
Design a java program named GradeCount.java then implement the following method: public static int[] gradeDistribution(File file) throws FileNotFoundException This method reads data from a gradebook (gradebook.txt contains grades only) and counts how many students are in each of the following categories: 90 – 100 80 – 89 70 – 79 60 – 69 Below 60 Invalid grade(less than 0 or above 100) Then it returns the result as a 6-element int array. Implement print method as specified below: public static void print(int[] arr) It prints the number of students in each category in the format as shwon below: Category No. of Students [90 – 100] 5 [80 – 89] 10 [70 – 79] 4 [60 – 69] 2 [0