Which is a valid PostConstruct method in a message-driven bean class?

Which is a valid PostConstruct method in a message-driven bean class?

Which is a valid PostConstruct method in a message-driven bean class?

A.
©PostConstruct
public boolean initQ {return true; }

B.
©PostConstruct private static void init0 {}

C.
©PostConstruct private void init0 {}

D.
©PostConstruct public static void initQ {}

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *