Problem: Assuming that the Servlet Container has just called the destroy() method of a servlet instance, which of the following statements are correct?
Options: 1. Any resources that this servlet might hold have been released. 2. The servlet container time out has exceeded for this servlet instance. 3. The init() method has been called on this instance. 4. None of the requests can EVER be serviced by this instance. 5. All threads created by this servlet are done.
Answers Given: 3 & 4
How come the 3rd Option is right? will it call init() again? (He didn't sayed anything like the new request come again in the question)
option 5 also seems correct "5. All threads created by this servlet are done." Because unless all the threads are serviced destroy() cannot be called. Right? Can someone please throw light on this concept?