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.