Problem Statement
What is method overloading?
Explanation
Method overloading allows a class to have multiple methods with the same name but different parameter lists. It improves code readability and flexibility by handling different input types or counts.
Code Solution
SolutionRead Only
int add(int a,int b){return a+b;}
double add(double a,double b){return a+b;}