If I have an Employee class with a default constructor:
Employee
private String firstName; public Employee(){}
and a setter:
The method serFirstName is of return type void (nothing). Try:
serFirstName
void
public Employee setFirstName(String fname) { this.firstName = fname; return this; }