Oracle
1Z0-851 · Question #231
1Z0-851 Question #231: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-851 to reveal the answer and full explanation for question #231. The question stem and answer options stay visible for context.
Question
Given: class One { public One foo() { return this; } } class Two extends One { public One foo() { return this; } } class Three extends Two { // insert method here } Which two methods, inserted individually, correctly complete the Three class? (Choose two.)
Options
- Apublic void foo() {}
- Bpublic int foo() { return 3; }
- Cpublic Two foo() { return this; }
- Dpublic One foo() { return this; }
- Epublic Object foo() { return this; }
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.