Video-30 Overloading in java

Publicado el: 01 enero 1970
en el canal de: Explore More
21
3

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.
---------------------------------------------------------------------------------


En esta página del sitio puede ver el video en línea Video-30 Overloading in java de Duración hora minuto segunda en buena calidad , que subió el usuario Explore More 01 enero 1970, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 21 veces y le gustó 3 a los espectadores. Disfruta viendo!