nerdexam
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)
  • A
    4% (1)
  • B
    7% (2)
  • C
    71% (20)
  • D
    18% (5)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice