Cognizant Interview Question

How to achieve method overloading and overriding