The code compiles for me (after I fix a comment on line 50)
Do you have another Date class defined on your PC?
EmployeeTest.java:30: incompactible types
What compiler are you using? I've never seen this error before. It's best to copy and paste error messages and not type them in.
NormR1
Posting Sage
7,742 posts since Jun 2010
Reputation Points: 1,158
Solved Threads: 793
Skill Endorsements: 16
This needs to go in Employee class as well.
Not if there is only one source file.
NormR1
Posting Sage
7,742 posts since Jun 2010
Reputation Points: 1,158
Solved Threads: 793
Skill Endorsements: 16
Question Answered as of 8 Months Ago by
NormR1,
jalpesh_007,
vinnitro
and 1 other