GradeBook.java:12: cannot find symbol
symbol : variable surname
location: class GradeBook
professorSurname = surname;
^
1 error
That's the error I get when I compile
Type: Posts; User: KRUKUSA
GradeBook.java:12: cannot find symbol
symbol : variable surname
location: class GradeBook
professorSurname = surname;
^
1 error
That's the error I get when I compile
why wont the code work?
telling me professorSurname invalid
CIS 182 – Java Programming
Assignment 04
Each program must include the following as comments at the beginning of your classes.
name
student number
assignment information
program documentation...