Cybersource interview question

Explain Inheritance, polymorphism and encapsulation.