Examveda

What is the primary function of the `destroy()` method in Java Servlets?

A. To handle HTTP requests

B. To create JavaBean properties

C. To define JavaBean lifecycle

D. To clean up resources and finalize the servlet

Answer: Option D


This Question Belongs to Java Program >> Java Server And Servlet

Join The Discussion

Related Questions on Java Server and Servlet