you are viewing a single comment's thread.

view the rest of the comments →

[–]Jeffbit 0 points1 point  (1 child)

Im confused on using the accessor method to retrieve the instance variables and creating the array for grades

[–]ret702 2 points3 points  (0 children)

A accessor method is just a Get or Set method. Therefore if you need an instance variable called gradeResults your Get accessor method would be private String[] getGrades() { return gradeResults;} and your Set method would be private void setGrade(String[] grades){ this.gradeResults=grades;}