Examveda
Examveda

What is the purpose of the `@WebServlet` annotation in a Java web application?

A. To declare a servlet and its mapping

B. To define JavaBean properties

C. To execute SQL queries

D. To create JavaBeans

Answer: Option A


Join The Discussion

Related Questions on Application Lifecycle and Annotation