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.)
A.
If Foo isstateful,testlistrue, and test2 is true.
B.
IfFoo is stateful, testlis true,andtest2isfalse.
C.
IfFoo is stateless, testl is true, and test2 is true.
D.
IfFoois stateful, testl is false, and test2 is false.
E.
If Foo isstateless, testl istrue,and test2 is false.
F.
If Fooisstateless, testl is false, andtest2is false.