What is method overriding in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is method overriding in java

30th Jul 2019, 11:55 AM
Ramniwas Kumawat
Ramniwas Kumawat - avatar
1 Answer
+ 2
When a child class uses the same method name and signature as the parent but implements it differently. It's the basis of run time polymorphism, a key principle of OOP.
30th Jul 2019, 12:07 PM
Sonic
Sonic - avatar