Pregunta de entrevista de UBS

basic Java questions, generics, Java 8 features