- Overloading is ability of one Method to perform different tasks
- it allows creating several methods with the same name which differ from each other in the type of the input and the output of the method
- Overloading can be used with methods
Example Program on OverLoading
Uses of Overloading methods
- The main advantage of this is cleanliness of code
- The use of method overloading is to save the memory space, consistency and readibiliy