If a class has multiple methods having the same name but different parameters, it is known as Method Overloading.
If we have to perform only one operation, having the same name of the methods increases the readability of the program
Suppose you have to perform an addition of the given numbers but there can be any number of arguments if you write the method such as an (int, int) for two parameters, and b(int, int, int) for three parameters then it may be difficult for you as well as other programmers to understand the behavior of the method because its name differs.
Advantage of method overloading- Method overloading increases the readability of the program.
---------------------------------------------------------------------------------
Nesta página do site você pode assistir ao vídeo on-line Video-30 Overloading in java duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Explore More 01 Janeiro 1970, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 21 vezes e gostou 3 espectadores. Boa visualização!