Thanks again!!
So we can say both are equivalent in terms of their recognition. Only difference is their versions.
As a startup , when going through preparation I find this text for
destroy method of
servlets
Cleans up whatever resources are being held (e.g., memory, file handles, threads) and makes sure that any persistent state is synchronized with the servlet's current in-memory state.
What do we mean by
"
persistent state is synchronized with the servlet's current in-memory state"
Let me know if I can use this
thread for any queries/follow up questions for doubts or need to open a new thread in different category.
Thanks
Avinash