JAVA SERVLETS MCQs – CHAPTER 5 DAE 9 min Score: 0 Attempted: 0/9 Subscribe 1. . Servlet is used to create: (A) Static web page (B) Dynamic web pages (C) Both (D) NoneShow All Answers 2. . The web container creates ______ for handling the multiple requests to the Servlet. (A) Threads (B) Both (C) Process (D) NoneShow All Answers 3. . Servlet that should always override the service() method to handle the client request: (A) Generic Servlet (B) HTTP Servlet (C) Dynamic Servlet (D) NoneShow All Answers 4. . The service() method accepts ______ arguments. (A) Three (B) One (C) Two (D) NoneShow All Answers 5. . Once application is created the next step would be ______ which will handle request. (A) None (B) To initiate Servlet (C) To destroy Servlet (D) To create ServletShow All Answers 6. . The servlet calls ______ method to process a client's request. (A) init() (B) Destroy() (C) None (D) service()Show All Answers 7. . The ______ method is the main method to perform the actual task in servlet life cycle. (A) None (B) Destroy() (C) init() (D) service()Show All Answers 8. . The ______ method is called only once at the end of the life cycle of a servlet. (A) Close() (B) Both (C) destroy() (D) NoneShow All Answers 9. . The servlet container loads the servlet before invoking the ______ method. (A) Destroy() (B) service() (C) init() (D) NoneShow All Answers