试题详情
单项选择题 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();

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

热门试题