new member, first time poster. Please forgive any mistakes or faux pas in my question.
Superclass:
public Person(String n,String pos, String db, String dW, TimePeriods tP,double bS,IManager m){
setName(n);
position=Position.valueOf(pos);
dob=LocalDate.parse(db);
dateWorking=LocalDate.parse(dW);
timePeriod=tP;
baseSalary=bS;
}
Subclass:
private CEO(String n,String pos, String dob, String dW, TimePeriods tP,double bS, IManager m){
}
My error, happening on the subclass CEO constructor:
constructor Person in class Person cannot be applied to given types; required: String,String,String,String,TimePeriods,double,IManager
found: no arguments reason: actual and formal argument lists differ in length
Can anyone help me find out why it isn't finding my arguments?