Multiple choice

The life cycle of a Servlet is

  1. init, start, stop

  2. init, begin, stop, destroy

  3. init, service, destroy

  4. none of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The Servlet lifecycle has three key methods: init() called once when servlet is first loaded, service() called for each request to handle the actual processing, and destroy() called once when servlet is unloaded. There is no start() or begin() method in the servlet API.