Multiple choice technology programming languages

init() & destroy() ---methods can ONLY BE CALLED ONCE!

  1. True

  2. False

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

The servlet lifecycle guarantees that init() is called only once when the servlet is first loaded, and destroy() is called only once when the servlet is being removed from service. The servlet container manages these calls and developers should never call them manually. This once-only behavior ensures proper initialization and cleanup of servlet resources.