public override string Visit(HourlyEmployee employee) { // generate the line of the report. return("100 Hours and $1000 in total."); }
public override string Visit(HourlyEmployee employee) { // generate the line of the report. return "100 Hours and $1000 in total."; }
public abstract string Visit(HourlyEmployee employee);