Accenture Interview Question

Mainly around JAVA8 and some design patterns