Kizspy | Question: 34
(Choose 1 answer)
What is method overloading in Java?
A. Having two methods in a class with the same name and parameters but different return types
B. Having two methods in a class with the same name but different parameters
C. Having two methods in a class with the same name and parameters but different access modifiers
D. Having two methods in a class with the same name and the same parameters