Cognizant interview question

Java inheritance and method overloading