+ 14

What is method overriding?

26th Jun 2017, 9:01 AM
ⓢⓐⓝⓓⓔⓔⓟ
ⓢⓐⓝⓓⓔⓔⓟ - avatar
17 Respuestas
+ 22
When a method in a subclass has the same name and type signature as a method in its superclass, then the method in the subclass is said to override the method in the superclass.
27th Jun 2017, 4:59 AM
annie
+ 6
There are method overriding, same name, different amount of parameters And threre are operator overload, same operator, different data types The overriding take place in a subclass
26th Jun 2017, 9:29 AM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 6
eh...no guesses
1st Jul 2017, 5:44 PM
annie
+ 5
annie I studied in c++
1st Jul 2017, 5:35 PM
Ramanan S
Ramanan S - avatar
+ 5
but u should accept me as ur friend then only I will ask u..
1st Jul 2017, 5:41 PM
Ramanan S
Ramanan S - avatar
+ 5
what is ur guess annie
1st Jul 2017, 5:42 PM
Ramanan S
Ramanan S - avatar
+ 5
can u teach me Malayalam ??lol
1st Jul 2017, 5:45 PM
Ramanan S
Ramanan S - avatar
+ 5
okay thanks..
1st Jul 2017, 5:48 PM
Ramanan S
Ramanan S - avatar
+ 5
you like my all questions...that is
2nd Jul 2017, 7:58 AM
ⓢⓐⓝⓓⓔⓔⓟ
ⓢⓐⓝⓓⓔⓔⓟ - avatar
+ 4
when do u teach me??
1st Jul 2017, 5:46 PM
Ramanan S
Ramanan S - avatar
+ 4
not now anyway
1st Jul 2017, 5:48 PM
annie
+ 4
thanks....annie
2nd Jul 2017, 7:54 AM
ⓢⓐⓝⓓⓔⓔⓟ
ⓢⓐⓝⓓⓔⓔⓟ - avatar
+ 4
hmm....thanks...okay😍
2nd Jul 2017, 8:03 AM
ⓢⓐⓝⓓⓔⓔⓟ
ⓢⓐⓝⓓⓔⓔⓟ - avatar
+ 3
I have a question.??
1st Jul 2017, 5:38 PM
Ramanan S
Ramanan S - avatar
+ 1
here is an example that you may want to check to see difference or understand the meanings of overriding and overloading https://code.sololearn.com/c0awDMpDLukF/?ref=app
11th Sep 2017, 2:58 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
0
the simple answer is.. on the diffrent class you have same method name.
26th Jun 2017, 9:08 AM
Sonny Michael
Sonny Michael - avatar
0
yes but on diffrent class right?
26th Jun 2017, 9:21 AM
Sonny Michael
Sonny Michael - avatar