IBM Interview Question

Polymorphism and encapsulation