nerdexam
Oracle

1Z0-860 · Question #226

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

Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #226. 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 beanl; 11. @EJB Foo bean2; //more code here 20. booleantestl = beanl.equals(beanl); 21. booleantest2 = beanl.equals(bean2); Which two statements are true? (Choose two.)

Options

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

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