Frage im Vorstellungsgespräch bei Unleashed Software

What is the difference between method overloading and method overriding?

Antwort im Vorstellungsgespräch

Anonym

22. Dez. 2018

Method overriding will share the same name as another method, and replace it's functionality, whereas method overloading will extend the functionality of a method by having a different number of arguments.