Hi All,
Here is a question:
25.Assuming that the
Servlet Container has just called the destroy()
method of a servlet instance, which of the following statements are
correct?
Select 2 correct options.
A.Any resources that this servlet might hold have been released.
B.The servlet container time out has exceeded for this servlet instance.
C.The init() method has been called on this instance.
D.None of the requests can EVER be serviced by this instance.
E.All threads created by this servlet are done.
ANS : C,D
My query is: the option E means all the
thread that the servlets might have created; not the threads which might have been created by client's request?
And any thread can run independent of parent thread(initiated by user's request) even if the parent thread finishes and destroy() is called.
Please confirm.
Thanks and regards,
Saurabh