Multiple choice technology programming languages

GenericServlet is a __________

  1. Interface

  2. Class

  3. Abstract Class

  4. Filter

  5. None

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

GenericServlet is an abstract class in the Java Servlet API, not an interface or concrete class. It implements the Servlet interface and provides basic implementations for most methods, except service() which remains abstract. Subclasses must implement service().