HCLTech interview question

Spring life cycle