public class Parent { int change() {…} } class Child extends Parent { } Which methods can be added into class Child?()
- A、 public int change(){}
- B、 int chang(int i){}
- C、 private int change(){}
- D、 abstract int chang(){}
正确答案:A,B
答案解析:有
微信扫一扫手机做题
public class Parent { int change() {…} } class Child extends Parent { } Which methods can be added into class Child?()
微信扫一扫手机做题