nerdexam
Oracle

1Z0-851 · Question #78

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

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

Question

Given: class ClassA {} class ClassB extends ClassA {} class ClassC extends ClassA {} and: ClassA p0 = new ClassA(); ClassB p1 = new ClassB(); ClassC p2 = new ClassC(); ClassA p3 = new ClassB(); ClassA p4 = new ClassC(); Which three are valid? (Choose three.)

Options

  • Ap0 = p1;
  • Bp1 = p2;
  • Cp2 = p4;
  • Dp2 = (ClassC)p1;
  • Ep1 = (ClassB)p3;
  • Fp2 = (ClassC)p4;

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