Mastercard interview question

Java 8 and spring questions.