Cognizant interview question

How to achieve method overloading and overriding