Compiling Error
I have a question about this part of the program:
if (!editErrorFound)
{if (hrs > 0 && rt > 0)
staff =new Employee (fn, ln, pos, rt, hrs );
else
staff =new Employee (ln,fn,pos);
}
This part of the code would not compile. What should I do? Here is the error message:
C:\Documents and Settings\Wilson\Desktop\HW4Driver.java:249: cannot find symbol
symbol : constructor Employee(java.lang.String,java.lang.String,java.lang.String,float,float)
location:class Employee
staff =new Employee (fn, ln, pos, rt, hrs ); ^
1 error
Tool completed with exit code 1
Message was edited by:
abc4616

