0
Method overloading and method over ridong
2 Antworten
+ 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