nerdexam
Oracle

1Z0-809 · Question #224

1Z0-809 Question #224: Real Exam Question with Answer & Explanation

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

Question

You have been asked to define the ProductCode class. The definition of the ProductCode class must allow c1 instantiation to succeed and cause a compilation error on c2 instantiation. Which definition of ProductCode meets the requirement?

Options

  • Aclass ProductCode<T, S<Integer>> { T c1; S c2; }
  • Bclass ProductCode<T, S extends T> { T c1; S c2; }
  • Cclass ProductCode<T, S> { T c1; S c2; }
  • Dclass ProductCode<T, S super T> { T c1; S c2; }

Unlock 1Z0-809 to see the answer

You've previewed enough free 1Z0-809 questions. Unlock 1Z0-809 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-809 Practice