Oracle
1Z0-895 · Question #35
1Z0-895 Question #35: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-895 to reveal the answer and full explanation for question #35. The question stem and answer options stay visible for context.
Question
Given the following code in an EJB session bean: Which code, inserted at Line 15, portably looks up the injected resource?
Exhibit
Options
- AObject obj = ic.lookup ("employeeDB");
- BObject obj = ic.lookup ("dataSource");
- CObject obj = ic.lookup ("jdbc/employeeDB");
- DObject obj = ic.lookup ("java:comp/env/employeeDB");
- EObject obj= ic.lookup ("java:cmp/env/jdbc/employeeDB);
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.
