Pregunta de entrevista de Tata Consultancy Services

Basic Programming question about java