Magic EdTech interview question

Related to Java 8 mostly