Pregunta de entrevista de Infosys

React class components and lifecycle menthods