编译在第 8 行失败。它说“super”中的“s”是错误的。
public class BasePlusCommissionEmployee extends CommissionEmployee {
private double baseSalary;
//constructor
public BasePlusCommissionEmployee( String first, String last, String ssn, int mth,
int day, int yr, double sales, double rate, double salary )
{
super( first, last, ssn, mth, day, yr, sales, rate );
setBaseSalary( salary );
}
错误信息: