Oracle
1Z0-860 · Question #68
1Z0-860 Question #68: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #68. The question stem and answer options stay visible for context.
Question
Given: 5. public interface MrB1 { 6. public interface MrB2 { Ajava class is defined as: 11. ©Stateless 12. public class MrBean implements MrB1 ,MrB2 { Which two statements are correct for making this code work as a stateless session bean, considering that this session bean is NOT defined in a deployment descriptor and the interfaces do NOT have annotations? (Choose two.)
Options
- AOnly the inteface for remote usage must be annotated.
- BThe interfaces MrB1 and MrB2 can only be used locally without changing the code.
- CBoth interfaces MrB1 and MrB2 must be annotated to make this a working stateless session bean.
- DThe interfaces MrB1 and MrB2 can be annotated differently, one with @Local and the other with
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.