February 2014
Beginner
1248 pages
62h 25m
English
Figure 7.19 creates an object of class GradeBook (Fig. 7.18) using the two-dimensional array of ints named gradesArray (declared and initialized in lines 10–19). Lines 21–22 pass a course name and gradesArray to the GradeBook constructor. Lines 23–24 display a welcome message containing the course name, then line 25 invokes myGradeBook’s processGrades method to display a report summarizing the students’ grades for the semester.
Read now
Unlock full access