I’m doing an assignment for school and im implementing a super but its not working yet i feel its done right. anyone have any idea why my super gives me a syntax error. It tells me “The Constructor Employee(String, String, String) is undefined yet it is though. Here’s my employee class that my other classes […]
- Tags "2f", "last": '', "weekly salary", double salary) { super(first, getWeeklySalary()); } // end method toString } // end class SalariedEmployee My other two classes like i said have the same issue so i, I'm doing an assignment for school and im implementing a super but its not working yet i feel its done right. anyone have any idea why my sup, ssn); // pass to Employee constructor setWeeklySalary(salary); // validate and store salary } // end four-argument SalariedEmploy, string, String last, String ssn, String ssn) { firstName=first; lastName=last; socialSecurityNumber=ssn; } public abstract double earnings();, String) is undefined yet it is though. Here's my employee class that my other classes extend off of which have this super error. /** * Abst, super.toString()