Question: Help Fix Errors please and Thank you! Program errors displayed here CourseGradebook.java: 3 8 : error: cannot find symbol public ArrayList getSortedAssignmentNames ( ) {

Help Fix Errors please and Thank you!
Program errors displayed here
CourseGradebook.java:38: error: cannot find symbol
public ArrayList getSortedAssignmentNames(){
^
symbol: class ArrayList
location: class CourseGradebook
CourseGradebook.java:48: error: cannot find symbol
public ArrayList getSortedStudentIDs(){
^
symbol: class ArrayList
location: class CourseGradebook
CourseGradebook.java:3: error: CourseGradebook is not abstract and does not override abstract method getStudentScores(Integer) in Gradebook
public class CourseGradebook extends Gradebook {
^
CourseGradebook.java:30: error: cannot find symbol
for (GradebookEntry entry : gradebookEntries){
^
symbol: variable gradebookEntries
location: class CourseGradebook
CourseGradebook.java:30: error: cannot find symbol
for (GradebookEntry entry : gradebookEntries){
^
symbol: class GradebookEntry
location: class CourseGradebook
CourseGradebook.java:39: error: cannot find symbol
HashSet assignmentNamesSet = new HashSet>();
^
symbol: class HashSet
location: class CourseGradebook
CourseGradebook.java:39: error: cannot find symbol
HashSet assignmentNamesSet = new HashSet>();
^
symbol: class HashSet
location: class CourseGradebook
CourseGradebook.java:40: error: cannot find symbol
for (GradebookEntry entry : gradebookEntries){
^
symbol: variable gradebookEntries
location: class CourseGradebook
CourseGradebook.java:40: error: cannot find symbol
for (GradebookEntry entry : gradebookEntries){
^
symbol: class GradebookEntry
location: class CourseGradebook
CourseGradebook.java:43: error: cannot find symbol
ArrayList sortedAssignmentNames = new ArrayList>(assignmentNamesSet);
^
symbol: class ArrayList
location: class CourseGradebook
CourseGradebook.java:43: error: cannot find symbol
ArrayList sortedAssignmentNames = new ArrayList>(assignmentNamesSet);
^
symbol: class ArrayList
location: class CourseGradebook
CourseGradebook.java:44: error: cannot find symbol
Collections.sort(sortedAssignmentNames);
^
symbol: variable Collections
location: class CourseGradebook
CourseGradebook.java:49: error: cannot find symbol
HashSet studentIDsSet = new HashSet>();
^
symbol: class HashSet
location: class CourseGradebook
CourseGradebook.java:49: error: cannot find symbol
HashSet studentIDsSet = new HashSet>();
^
symbol: class HashSet
location: class CourseGradebook
CourseGradebook.java:50: error: cannot find symbol
for (GradebookEntry entry : gradebookEntries){
^
symbol: variable gradebookEntries
location: class CourseGradebook
CourseGradebook.java:50: error: cannot find symbol
for (GradebookEntry entry : gradebookEntries){
^
symbol: class GradebookEntry
location: class CourseGradebook
CourseGradebook.java:53: error: cannot find symbol
ArrayList sortedStudentIDs = new ArrayList>(studentIDsSet);
^
symbol: class ArrayList
location: class CourseGradebook
CourseGradebook.java:53: error: cannot find symbol
ArrayList sortedStudentIDs = new ArrayList>(studentIDsSet);
^
symbol: class ArrayList
location: class CourseGradebook
CourseGradebook.java:54: error: cannot find symbol
Collections.sort(sortedStudentIDs);
^
symbol: variable Collections
location: class CourseGradebook
CourseGradebook.java:61: error: cannot find symbol
for (GradebookEntry entry : gradebookEntries){
^
symbol: variable gradebookEntries
location: class CourseGradebook
CourseGradebook.java:61: error: cannot find symbol
for (GradebookEntry entry : gradebookEntries){
^
symbol: class GradebookEntry
location: class CourseGradebook
21 errors

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!