Pergunta de entrevista da empresa Nagarro

Lifecycle of a servlet. When is the destroy() method called? Difference between Statement and PreparedStatement?