Q.

Which statement about life-cycle callback methods is correct?

A. Life-cycle callback methods must be implemented in the bean class.
B. Life-cycle callback methods can have public, private, protected, or packagelevel access. (*)
C. A life-cycle callback method can only have a single callback annotation. In other words, you cannot define a single method and give it two different callback annotations.
D. Life-cycle callback methods can be declared as static.
Answer» B. Life-cycle callback methods can have public, private, protected, or packagelevel access. (*)
1.1k
0
Do you find this helpful?
9

Discussion

No comments yet