Vidyalelo
Java Programming · Q26

Java Server and Servlet

Programming · Java Programming · question 26

Q26

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board