Which statement about life-cycle callback methods is correct?
1. Life-cycle callback methods must be implemented in the bean class.
2.Life-cycle callback methods can have public, private, protected, or packagelevel access. (*)
3. 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.
4. Life-cycle callback methods can be declared as static.
Posted Date:-2024-02-07 12:17:54