Examveda
Examveda

What is the purpose of the `@PreDestroy` annotation in Java EE applications?

A. To define JavaBean properties

B. To execute SQL queries

C. To specify a method to be executed before an instance is removed by the container

D. To create JavaBeans

Answer: Option C


Join The Discussion

Related Questions on Application Lifecycle and Annotation