Question d’entretien chez Capgemini

2 coding questions related to java 8 and design pattern