Tech Mahindra interview question

Core Java Questions 1. Implement overriding and overloading on following method - public method1(){}