Gradebook class as needed for help in writing your new object-oriented gradebook.
GradebookOO (that's two O's for Object-Oriented). The class should have a single field which is an array of doubles called grades. This class will have no main method. Compile. Why can't you run this class?
GradebookOO. The first should take no arguments and initialize the grades field to an array of size zero. The second should take an argument that is an array of doubles and assign that array to the field. Compile.
GradebookOO named printGrades that takes no arguments and prints out all the grades in the grades field. Compile.
GradebookOO named averageGrade that takes no arguments and returns the average grade in the grades field. Compile.
GBProgram. Add a main method to GBProgram which instantiates a Gradebook with an array of grades, prints out all the grades with a call to the printGrades method, and finds the average grade with the averageGrade method. Compile and run.
EasyReader, as described in Step 3 of the previous lab, in the main method of GBProgram to allow the user to enter in the grades.
Submission: Submit all of your code for this lab.