Cognizant interview question

Overloading and Overridding Scenario