nerdexam
Oracle

1Z0-851 · Question #153

1Z0-851 Question #153: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-851 to reveal the answer and full explanation for question #153. The question stem and answer options stay visible for context.

Question

Given: 09. class Line { 10. public static class Point {} 11. } 12. 13. class Triangle { 14. public Triangle(){ 15. // insert code here 16. } 17. } Which code, inserted at line 15, creates an instance of the Point class defined in Line?

Options

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

Unlock 1Z0-851 to see the answer

You've previewed enough free 1Z0-851 questions. Unlock 1Z0-851 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-851 Practice