Using below we achieve the method overloading in Java
Method overloading can be achieved by two ways:
• By modifying the number of arguments
• By modifying the return type