• 2022-06-15 问题

    Which two code fragments, inserted independently at line 12, 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);

    Which two code fragments, inserted independently at line 12, 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);

  • 1