Given: Which two code fragments, inserted independently at line 13, will compile?()
- A、super(name, baseSalary);
- B、this.commission = commission;
- C、super();this.commission = commission;
- D、this.commission = commission;super();
- E、 super(name, baseSalary);this.commission = commission;
- F、this.commission = commission;super(name, baseSalary);
- G、super(name, baseSalary, commission);
正确答案:A,E
答案解析:有
微信扫一扫手机做题