+ 3

What is meant by OVERRIDING in java??

Friends... explain me in simple words...🤗

10th Sep 2017, 4:16 PM
Arun ashok
Arun ashok - avatar
4 odpowiedzi
+ 8
overriding is shortly same method but different result imagine there are two classes called Dog and Cat. we want to have sound method. when we want to use dog.sound() we prefer to see "wouf" and while we use cat.sound () we want to see "meow" ok this is shortly overriding See my code here https://code.sololearn.com/c0awDMpDLukF/?ref=app
10th Sep 2017, 10:14 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 3
Thank you so much....@Igor Makarsky👌👍😀
10th Sep 2017, 4:19 PM
Arun ashok
Arun ashok - avatar
+ 3
can you explain the concept in ur own words...pls.. @Igor Makarsky
10th Sep 2017, 4:20 PM
Arun ashok
Arun ashok - avatar