JAVA
Method Overloading
JAVA: Method Overloading in Java
➤ Method Overloading : If a class has multiple methods having
same name but different in parameters, it is known
as Method Overloading.
➤ Method overloading increases the readability of the program.
➤ How to Achieve Method Overloading?
➤ By changing number of arguments.
➤ By changing the data type.
Will see you in Next Lecture…
See you in next lecture …