EPAM Systems Interview Question

JAVA-8 feature and coding question