Pregunta de entrevista de Shivam Infotech

normal basic java question