Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

method overloading in java

Method overloading is providing 
two separate methods in a class 
with the same name but different arguments,
while the method return type 
may or may not be different, which
allows us to reuse the same method name.
In my framework==
I use implicit wait in Selenium. Implicit wait
is an example of overloading. In Implicit wait
we use different time stamps such as SECONDS, MINUTES, HOURS etc.,
A class having multiple methods with
same name but different parameters 
is called Method Overloading
Source by www.studytonight.com #
 
PREVIOUS NEXT
Tagged: #method #overloading #java
ADD COMMENT
Topic
Name
8+4 =