Mastercard Interview Question

Some basis questions form java, current project