What is method overriding in java | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 2

What is method overriding in java

30th Jul 2019, 11:55 AM
Ramniwas Kumawat
Ramniwas Kumawat - avatar
1 Antwort
+ 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