Multiple choice technology web technology

Which of the following statements is true about the GenericServlet. (Multiple choice)

  1. GenericServlet is for servlets that might not use HTTP, like for instance FTP service.

  2. As of only Http is implemented completely in GenericServlet.

  3. The GenericServlet has a service() method that gets called when a client request is made.

  4. GenericServlet is called by both incoming requests and the HTTP requests are given to the servlet as they are.

Reveal answer Fill a bubble to check yourself
A,C,D Correct answer
Explanation

GenericServlet is a protocol-independent servlet class. It defines a lifecycle method service() called for all client requests. Unlike HttpServlet, it does not implement HTTP-specific behavior directly. The marked options correctly describe its protocol-neutral design and request handling workflow.