On p. 60 of Charles Lyon's book,
3. Which abstract class can be extended to create a protocol independent servlet?
D. javax.servlet.GenericaServlet
4. What methods does the abstract class in Question 3 declare, which are not found in any superclasses or implemented interface?
A. public ServletConfig getConfig()
B. public ServletContext getServletContext()
C. public void init()
D. public void init (ServletConfig)
E. public String getInitParameter(String)
For question 4, I think it is refering to interfaces:
Servlet and ServletConfig .
But I don't see any init() method or geConfig method declare in the above two interfaces.
I think the answer should be A and C, instead of C only as given in the book.