hi all
this is a question i got from Nikos' blog and it says like this:
Does this
servlet compile successfully? (1 correct answer)
1. Compilation succeeds.
2. Compilation fails because there is no init(ServletConfig) in GenericServlet.
3. Compilation fails because init(ServletConfig) of GenericServlet throws ServletException.
4. Compilation fails because init(ServletConfig) of GenericServlet throws IOException and ServletException.
It is said that the answer is 3, but i would say the answer is 1 bacause GenericServlet has a
method.
so, please you guys help me by explaining the reason