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

Oracle认证考试

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

Given: Which statement is true?()

  • A、The code will compile without changes.
  • B、The code will compile if public Tree() { Plant(); } is added to the Tree class.
  • C、The code will compile if public Plant() { Tree(); } is added to the Plant class.
  • D、The code will compile if public Plant() { this("fern"); } is added to the Plant class.
  • E、The code will compile if public Plant() { Plant("fern"); } is added to the Plant class.
正确答案:D
答案解析:
进入题库查看解析

微信扫一扫手机做题