nerdexam
Oracle

1Z0-860 · Question #89

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

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

Question

A developer writes a stateful session bean with local business interface Bar containing method test. Method test is implemented as 11. ©Remove 12. public void testfj {} A business method in a stateless session bean invokes a reference to bean Bar as follows : 11. @EJB Bar bar; 12. 13. public void foo0 { 14. bar.testO; 15. bar.testO; 16.} Assuming execution reaches Line 15, what is the expected result?

Options

  • AMethod foo returns without error.
  • BAjavax.ejb.NoSuchEJBException is thrown.
  • CAjava.rmi.NoSuchObjectException is thrown.
  • DAjavax.ejb.NoSuchEntityException is thrown.

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