What is the requirement of compile time overloading?
Mamta
Sep 14th, 2017
Compile time overloading or static binding or early binding means to have same method name with different arguments. Example
sample(int a)
sample(int a, int b)
sample(char a)
sample(int a, char b)
sample(int a, char b, string c)
All of these are example of compile time overloading.
Praveen
Jan 17th, 2012
We know that because of polymorphism, we can declare any number of function with change in signature.
Signature considers three parts
1. No.of parameters
2. Type of parameters
3. Order of parameters...