Easy, you're using two different names for the same member function. You have defined Employee.setEmployeeName(), but you are calling Employee.setName(). The latter doesn't exist.I suggest changing the declaration of setEmployeeName() to be setName() - and all the similarly named functions - and all will be well.
0 comments:
Post a Comment