QSS Technosoft interview question

Life cycle methods in Reactjs