Exam4Training

Which of the following statements about the @PostConstruct annotation is NOT true? (select one)

Which of the following statements about the @PostConstruct annotation is NOT true? (select one)
A . It is a JSR-250 standard Java annotation
B . There are no restrictions on method name or visibility of a method which can be annotated with @PostConstruct
C . It can be enabled using the <context:annotation-config /> tag
D . It is called before setter injection

Answer: D

Exit mobile version