Question:With regard to the destroy lifecycle method, identify the correct statements about its purpose or about how and when it is invoked. 

A It gives the servlet an opportunity to clean up resources. 

B Like try-catch, it is called upon an exception. 

C It is rarely used but can be called to remove a servlet from memory. 

D It isn't called if the server crashes. 

+ Answer
+ Report
Total Preview: 698

Copyright © 2024. Powered by Intellect Software Ltd