Multiple choice technology architecture

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 phases: initialization (init() called once), service (service()/doGet()/doPost() called per request), and destruction (destroy() called once before removal). All three are lifecycle methods, making 'Above All' the correct answer.