试题详情
单项选择题 Given: What is the result?()

A、Compilation fails because of an error in line 7.

B、Compilation fails because of an error in line 9.

C、If you define D e = new E(), then e.bMethod() invokes the version of bMethod() defined in Line 5.

D、If you define D e = (D)(new E()), then e.bMethod() invokes the version of bMethod() defined in Line 5.

E、If you define D e = (D)(new E()), then e.bMethod() invokes the version of bMethod() defined in Line 9.

  • E
  • 关注下方微信公众号,在线模考后查看

热门试题