Multiple choice

Which of the following conditions is/are not applicable for the init() method in servlet life cycle?

  1. The init() method can be called only once.

  2. The init() method can be overriden.

  3. The init() method can not throw any exception.

  4. The destroy() method ensures that the persistent state is synchronised.

  5. None of these

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

The init() method throw servlet exception when the servlet container cannot place the servlet into the service.