MGS Technology interview question

OOP Concepts