Anonymous
public text v1 · immutable public static void main( String[] args ) {
Staff[] staff = new Staff[MAX_STAFF];
}
public static void printPay() {
System.out.println(staff[MAX_STAFF].toString());
}
ERROR:
Payroll.java:37: cannot find symbol
symbol : variable staff
location: class Payroll
System.out.println(staff[MAX_STAFF].toString());
^
1 error