Multiple choice

Which of the following statements is/are not applicable for the GenericServlet class in the Servlet applications?

  1. This is an abstract class which extends the Servlet interface.

  2. It provides protocol independent servlet.

  3. This class has getServletInfo(), getServletName() and getInitParameterNames() methods.

  4. This class has getServletInfo(), getServletName() and getValue() methods.

  5. None of the above

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

The getValue() method is not present in the GenericServlet class.