Multiple choice technology web technology

what is class available for http process in servlet

  1. GenericServlet

  2. service()

  3. doTrace()

  4. HttpServlet class its a sub class of GenericServlet class

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

HttpServlet extends GenericServlet and provides HTTP-specific functionality through methods like doGet(), doPost(), etc. GenericServlet is protocol-independent while HttpServlet is designed specifically for HTTP processing. Option D correctly identifies this class and its relationship.