Tavant Interview Question

How do you achieve Method Overrding in Selenium