0

Why overloading called complie time polymorphism?

Why method overloading called complie time polymorphism?

10th Aug 2018, 6:46 PM
zeeshan
zeeshan - avatar
2 Respostas
+ 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
10th Aug 2018, 7:16 PM
Ankush Mamidwar
Ankush Mamidwar - avatar
0
in short because the signatures are different in overloading
10th Aug 2018, 7:17 PM
Ankush Mamidwar
Ankush Mamidwar - avatar