Vidyalelo
Java Programming · Q11

Java Server and Servlet

Programming · Java Programming · question 11

Q11

What is the role of the `init()` method in Java Servlets?

A.
To handle HTTP requests
B.
To create JavaBean properties
C.
To initialize the servlet
Answer
D.
To define JavaBean lifecycle

Answer: Option C

Solution

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