+ 1

What is overriding a method in JAVA ?

plz tell me the answer...specially about the arguments

22nd Nov 2017, 3:50 PM
siddhant satpute
siddhant satpute - avatar
2 Answers
+ 2
22nd Nov 2017, 3:57 PM
Bartek Nowacki
Bartek Nowacki - avatar
+ 1
when a function with same return type, name and parameters is defined in two & more different classes then it's called overriding but the condition is that the classes should be inherited
22nd Nov 2017, 4:56 PM
Shivani Goyal
Shivani Goyal - avatar