0
does overlaod happens in same class and override in different classes? am i right?
polymorphism: does overlaod happens in same class and override in different classes? am i right?
2 Respuestas
+ 2
Yupp.
Though you can overload global functions as well (those that are not in classes).
+ 3
Not really. You can overload parent methods.
(So, overloading doesn't have to be in the same class).