1: What class is typically extended to create a Java Servlet? Answer
2: What method, of the above mentioned class, is overridden to service an HTTP GET request? Answer
3: What method, of the above mentioned class, is overridden to service an HTTP POST request? Answer
4: What method should be invoked before sending any data back to the browser, to specify what kind of data you'll be sending to the browser? Answer
5: How does the above mentioned method affect the HTTP response that is generated by the servlet engine? Answer