首页计算机考试Oracle认证
(单选题)

Given:  Which code, inserted at line 15, creates an instance of the Point class defined in Line?()

A Line l = new Line() ; l.Point p = new l.Point();

B Line.Point p = new Line.Point();

C The Point class cannot be instatiated at line 15.

D Point p = new Point();

正确答案

来源:www.examk.com

答案解析

相似试题

  • (多选题)

    Given: Which two statements are true about the result if the default locale is Locale.US?()

    答案解析

  • (单选题)

    Given: Which exception or error will be thrown when a programmer attempts to run this code?()

    答案解析

  • (单选题)

    Given: Which line of code marks the earliest point that an object referenced by intObj becomes a candidate for garbage collection?()

    答案解析

  • (单选题)

    Given: Which statement is true?()

    答案解析

  • (单选题)

    Given: Which is true?()

    答案解析

  • (多选题)

    Given: Which three are true?()

    答案解析

  • (单选题)

    Given: Which statement is true?()

    答案解析

  • (单选题)

    Given: Which statement is true?()

    答案解析

  • (单选题)

    Given: Which statement is true?()

    答案解析

  • (单选题)

    Given: Which statement is true?()

    答案解析

快考试在线搜题