IBM Interview Question

Basic OOPs concepts