Barclays Interview Question

record classes, predicates, functional interfaces