Mastercard Interview Question

Explain object oriented programming in java