Multiple choice technology web technology

Which interface, the GenericServlet class does not implement?

  1. Servlet

  2. ServletConfig

  3. Serializable

  4. ServletContext

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

GenericServlet implements Servlet, ServletConfig, and Serializable interfaces, but does NOT implement ServletContext. The ServletContext is obtained through the ServletConfig.getServletContext() method, not directly implemented by the servlet.