nerdexam
Oracle

1Z0-860 · Question #285

1Z0-860 Question #285: Real Exam Question with Answer & Explanation

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

Question

A developer writes a stateful session bean called FooBean. Which code can be inserted before Line 11 of the FooBean class to define a TYPE-level environment dependency on a JMS Topic? 11. public class FooBean { 12. 13. public void fooQ {} 14. 15.}

Exhibit

1Z0-860 question #285 exhibit

Options

  • A@Resource(type=Topic. class)
  • B@Resource(name="topicRef) private static Topic topic;
  • C©ResourceprivateTopic topic;
  • D@Resource(name="topicRef', type=Topic. class)

Unlock 1Z0-860 to see the answer

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