+ 14
What is method overriding?
18 Réponses
+ 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.
+ 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
+ 6
eh...no guesses
+ 5
annie I studied in c++
+ 5
but u should accept me as ur friend then only I will ask u..
+ 5
what is ur guess annie
+ 5
can u teach me Malayalam ??lol
+ 5
okay thanks..
+ 5
you like my all questions...that is
+ 4
when do u teach me??
+ 4
not now anyway
+ 4
thanks....annie
+ 4
hmm....thanks...okay😍
+ 3
I have a question.??
+ 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
0
the simple answer is.. on the diffrent class you have same method name.
0
yes but on diffrent class right?