Method overloading and method over ridong | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Method overloading and method over ridong

15th Sep 2017, 3:36 PM
vikas
vikas - avatar
2 Answers
+ 1
The override keyword is just a hint to the compiler telling that a function is overriding another in a base class, so there exists a function in the base class which must be overrided, and if it is not, a compile time error is thrown. Here a piece of code that may help you: https://code.sololearn.com/cCbidD3S0VjY/?ref=app
15th Sep 2017, 3:51 PM
Testing003