Oracle
1Z0-860 · Question #279
Which is a valid PostConstruct method in a message-driven bean class?
The correct answer is C. ©PostConstruct private void init0 {}. See the full explanation below for the reasoning.
Question
Which is a valid PostConstruct method in a message-driven bean class?
Options
- A©PostConstruct public boolean initQ {return true; }
- B©PostConstruct private static void init0 {}
- C©PostConstruct private void init0 {}
- D©PostConstruct public static void initQ {}
How the community answered
(28 responses)- A4% (1)
- B7% (2)
- C71% (20)
- D18% (5)
Community Discussion
No community discussion yet for this question.