Question: using java In your StudentGrade2 class, create a new array for holding up to five Students object. Display the message Please enter the names and

using java
In your StudentGrade2 class, create a new array for holding up to five Students object. Display the message "Please enter the names and scores of the five students. Accept the name and score of each student one by one, separated by space or newline. The scores are integer, and the names are alphabetical. For each student record entered, create a new Student object to store the student data (name and score), and store all five student objects in your array. After all data have been entered, print out a grade report as follows: ***** Grade Report ***** Name1, Score1, Grade1 Name2, Score2, Grade2 Name3, Score3, Grade3 Name4, Score 4, Grade4 Name5, Score5, Grade5 ***** End of Report **** Hints: use a for loop to retrieve the five student objects from the array one by one. For each object, use the getGrade() function of each student object to compute the grade, then print out the details of that student
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
