Method overloading in java
Method overloading is a mechanism to implement static/compile time polymorphism in Java. Method overloading means more than one method in a class with the same name but different parameters. Parameters can differ in type, number, or order. Compiler resolves method calls by matching the method signature at compile time, that’s why it is known as … Read more