单选题

Given: What is the result?()

ACompilation fails because of an error in line 3.

BCompilation fails because of an error in line 7.

CCompilation fails because of an error in line 9.

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

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

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

正确答案

来源:www.examk.com

答案解析

相似试题
  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案