class assistant extends person { }
class lecturer extends person { }
class AssociateProfessor extends person {
assistant(float basepayment, int time, float moneypertime){ }
public float pay(){ }
return basepayment + time * moneypertime; this.basepayment = basepayment; this.time = time;
this.moneypertime = moneypertime;
assistant(float basepayment, int time, float moneypertime){ }
public float pay(){ }
return basepayment + time * moneypertime; this.basepayment = basepayment; this.time = time;
this.moneypertime = moneypertime;
assistant(float basepayment, int time, float moneypertime){ }
public float pay(){
return basepayment + time * moneypertime; this.basepayment = basepayment; this.time = time;
this.moneypertime = moneypertime;