Pergunta de entrevista da empresa Cognizant

Bean life cycle. Reverse the integer. PAtteern progarm.