Mastercard interview question

Core java and spring boot question