Oracle
1Z0-895 · Question #90
1Z0-895 Question #90: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-895 to reveal the answer and full explanation for question #90. 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 foo() () 14. 15. }
Options
- A@Resource (type=Topic.class)
- B@Resource (name="topicRef")
- C@Resource private Topic topic
- D@Resource(name="topicRef", type=Topic.class)
Unlock 1Z0-895 to see the answer
You've previewed enough free 1Z0-895 questions. Unlock 1Z0-895 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.