Multiple choice technology

A life-cycle method of a servlet is_________________

  1. init()

  2. service()

  3. destroy()

  4. Above All

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

The servlet lifecycle consists of three main methods: init() (called once when servlet is initialized), service() (called for each request to handle business logic), and destroy() (called once before servlet is removed from service). All three are essential lifecycle methods, so Option D (Above All) is correct as it encompasses all of them. Option C only names destroy(), which is incomplete.