1.

Which of these functions is not a part of the servlet lifecycle(a) Checking if an instance of servlet exists or not(b) Invoking the service method of the servlet(c) Shutting down the servlet(d) Pausing the servlet for a given period of time.I had been asked this question in an online quiz.This key question is from Servlets and JSP topic in division Application Design and Development of RDBMS

Answer»

Right choice is (d) Pausing the servlet for a GIVEN PERIOD of time.

Explanation: Pausing the servlet for a given AMOUNT of time is not a part of the servlet lifecycle. A servlet can be checked, INVOKED and destroyed but it cannot be paused.



Discussion

No Comment Found

Related InterviewSolutions