Mastercard interview question

Java, Spring, Hibernate