Pergunta de entrevista da empresa Infosys

How to maintain same stae through the application?