Trigyn Technologies interview question

OOPs concept