Infosys interview question

Lifecycle methods in Angular to understand the whole process