多做题,通过考试没问题!

Oracle认证考试

睦霖题库>其他计算机考试>Oracle认证考试

Click the Exhibit button. What two must the programmer do to correct the compilation errors? ()

  • A、insert a call to this() in the Car constructor
  • B、insert a call to this() in the MeGo constructor
  • C、insert a call to super() in the MeGo constructor
  • D、insert a call to super(vin) in the MeGo constructor
  • E、change the wheelCount variable in Car to protected
  • F、change line 3 in the MeGo class to super.wheelCount = 3;
正确答案:D,E
答案解析:
进入题库查看解析

微信扫一扫手机做题