Infosys interview question

Explain UI lifecycle with scenarios