Deloitte interview question

Servlet life cycle