1. class BigDog extends Dog { 2. // insert code here 3. } 分别插入到第 2 行,哪二项可以编译?()
- A、BigDog() { super(); this(); }
- B、BigDog() { String name = "Fido"; super(); }
- C、BigDog() { super(); String name = "Fido"; }
- D、private BigDog() { super();}
正确答案:C,D
答案解析:有
微信扫一扫手机做题