nerdexam
Oracle

1Z0-851 · Question #91

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

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

Question

Given: 11. public interface A111 { 12. String s = "yo"; 13. public void method1(); 14. } 17. interface B { } 20. interface C extends A111, B { 21. public void method1(); 22. public void method1(int x); 23. } What is the result?

Options

  • ACompilation succeeds.
  • BCompilation fails due to multiple errors.
  • CCompilation fails due to an error only on line 20.
  • DCompilation fails due to an error only on line 21.
  • ECompilation fails due to an error only on line 22.
  • FCompilation fails due to an error only on line 12.

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