Languagemedium0-2 years

How are overloading and overriding resolved differently?

Overloading is resolved at compile time from the static types of the arguments. Overriding is resolved at run time from the receiver's class. Only the receiver is dispatched dynamically; the arguments never are.

The lesson behind it →
More on Language