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();
正确答案:B
答案解析:有
微信扫一扫手机做题