0
Why overloading called complie time polymorphism?
Why method overloading called complie time polymorphism?
2 ответов
+ 1
in compile time polymorphism :
Call to the respective method according to signature is decided compile time while in overriding the call is decided at the run time which is also called as run time polymorphism
0
in short because the signatures are different in overloading