Cognizant interview question

Oops questions, method overloading and overriding diff