单选题Given: Which code, inserted at line 15, creates an instance of the Point class defined in Line?()APoint p = new Point();BLine.Point p = new Line.Point();CThe Point class cannot be instatiated at line 15.DLine l = new Line() ; l.Point p = new l.Point()
题目
单选题
Given: Which code, inserted at line 15, creates an instance of the Point class defined in Line?()
A
Point p = new Point();
B
Line.Point p = new Line.Point();
C
The Point class cannot be instatiated at line 15.
D
Line l = new Line() ; l.Point p = new l.Point();
更多“单选题Given: Which code, inserted at line 15, creates an instance of the Point class defined in Line?()A
Point p = new Point();B
Line.Point p = new Line.Point();C
The Point class cannot be instatiated at line 15.D
Line l = new Line() ; l.Point p = new l”相关问题