+ 2

What to do to avoid function overriding?

How can we avoid function overriding and chose desired function??

19th Nov 2017, 9:49 PM
Drumsticks
Drumsticks - avatar
4 ответов
+ 2
Ya that is basic but i actually meant when you have same function name and still to chose the desired function..
20th Nov 2017, 6:55 PM
Drumsticks
Drumsticks - avatar
+ 2
Either we can use the static keyword or we can call the function by referring its own classe's object name.
20th Nov 2017, 6:56 PM
Drumsticks
Drumsticks - avatar
19th Nov 2017, 10:29 PM
Mohamed Hamada
Mohamed Hamada - avatar
+ 1
well you can use different name for different methods.
20th Nov 2017, 10:41 AM
Devbrath
Devbrath - avatar