Redesign the grading program as an object-oriented design


Program: We are going to redesign the grading program as an object-oriented design. We will start with a simple Student class. The student will have a name, an id (as a String) and a set of grades (as doubles).

The Student class should add:

  --a constructor (which takes a name and id as strings),

  --getters and setters for the name and id,

  --addGrade method : void

            *which takes a double,

  --printGrades method : void

                *which prints the name, a colon, and the grades separated by commas,

  --getAdjustedAverage method : double

                * computes the average, dropping the lowest score

     --getLetterGrade method : char

                         *compute the letter grade based on the adjusted average and a straight scale

   --toString() method : String

   --Prints the "():"

It must compile with no errors and follow the directions. Add comments in code section that will be useful in the future.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Redesign the grading program as an object-oriented design
Reference No:- TGS0957072

Expected delivery within 24 Hours