Pregunta de entrevista de Capital One

Tell me a time... Questions based on Java concepts