Pregunta de entrevista de Upstream

I was mostly asked about fundamental java concepts.