BNP Paribas interview question

Questions regarding Java8 and angular 5 features