Cybersource Interview Question

Explain Inheritance, polymorphism and encapsulation.