找考题网-背景图
单项选择题

A.Point p = Line.getPoint();B.Line.Point p = Line.getPo……

Given:

Which code, inserted at line 16, correctly retrieves a local instance of a Point object?()



A.Point p = Line.getPoint();
B.Line.Point p = Line.getPoint();
C.Point p = (new Line()).getPoint();
D.Line.Point p = (new Line()).getPoint();