InterviewSolution
Saved Bookmarks
| 1. |
When destroy() method of a filter is called?(a) The destroy() method is called only once at the end of the life cycle of a filter(b) The destroy() method is called after the filter has executed doFilter method(c) The destroy() method is called only once at the begining of the life cycle of a filter(d) The destroyer() method is called after the filter has executed |
|
Answer» Right choice is (a) The destroy() method is called only once at the end of the life cycle of a filter Easiest explanation: destroy() is an end of life cycle method so it is called at the end of life cycle. |
|