

McqMate
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. (*) |
View all MCQs in
Enterprise Computing With JAVANo comments yet