iFour Technolab interview question

OOPs concepts