問題詳情

114 


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();

參考答案