Question: In Java, what is method overloading? a. Putting so much code in a method that its functionality becomes hard to understand. b. Using two methods
In Java, what is method overloading?
a. Putting so much code in a method that its functionality becomes hard to understand.
b. Using two methods with the same name, but a different number (and/or different type) of arguments.
c. Offering the user of your class all possible methods that he/she would like to perform on the variables the class offers.
d. Making sure that every method uses all variables of the class.
Step by Step Solution
3.44 Rating (160 Votes )
There are 3 Steps involved in it
The correct answer is b Using two methods with the same nam... View full answer
Get step-by-step solutions from verified subject matter experts
