Virtusa interview question

Basic OOPs concepts