Method Overloading

Author: Ravi Poswal

If a class contains many methods with the same name, it's called "method overloading". it is a form of compile-time polymorphism.

Rules of Method overloading

1. The number of parameters can be changed.

2. type of parameter can be changed