nerdexam
Oracle

1Z0-895 · Question #31

1Z0-895 Question #31: Real Exam Question with Answer & Explanation

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

Question

Given the following client-side code that makes use of the session bean Foo: 10. @EJB Foo bean1; 12. @EJB Foo bean2; // more code here 20. boolean test1 = beanl.equals(bean1); 21. boolean test2 = beanl.equals(bean2) ; Which three statements are true? (Choose three)

Options

  • AIf Foo is stateful, test1 is true, and test2 is true.
  • BIf Foo is stateful, test1 is true, and test2 is false.
  • CIf Foo is stateless, test1 is true, and test2 is true.
  • DIf Foo is stateless, test1 is true, and test2 is false.
  • EIf Foo is singleton, test1 is true, and test2 is true.
  • FIf Foo is singleton, test1 is true, and test2 is false.

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.

Full 1Z0-895 Practice