Oracle
1Z0-860 · Question #278
1Z0-860 Question #278: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #278. The question stem and answer options stay visible for context.
Question
A developer writes a stateless session bean with a constructor, a PostConstruct method, a PreDestroy method, and this business method: 11. public String helloQj 12. return "hello"; 13.} The container invokes the hello method on an instance of the bean. Which is true about that bean instance when control reaches Line 12?
Options
- AThe constructor has NOT been invoked.
- BThe PreDestroy method has been invoked.
- CThe PostConstruct method has been invoked.
- DBoth the PostConstruct and PreDestroy methods have been invoked.
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.