Multiple choice technology architecture

Every Custom Servlet extends javax.servlet.http.HttpServlet class

  1. True

  2. False

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

In the Java Servlet API, all HTTP-specific servlets extend javax.servlet.http.HttpServlet. This class provides specialized methods like doGet(), doPost(), etc. for handling HTTP requests. While you could technically extend GenericServlet, HTTP servlets always extend HttpServlet for HTTP protocol support.