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

1 Expert Approved Answer
Step: 1 Unlock

The correct answer is b Using two methods with the same nam... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Principles Of Database Management Questions!