Tech Mahindra interview question

Technical Interview: Basic OOPs Program for finding the largest of 3 numbers