🎴 Flashcard Mode

Java Servlets and Web Development

Card1 / 15
Mastered0
Review0
QuestionClick to flip

what is class available for http process in servlet

AnswerClick to flip back
A
HttpServlet class its a sub class of GenericServlet class
💡 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.

Change Mode