IBM Interview Question

OOP basics