What is method overloading in Java?
Method overloading happens when a class defines multiple methods with the same name but different return types.
You're close, but method overloading actually involves differing parameters, not return types.
Can you explain how Java differentiates overloaded methods based on parameter types and how return types don't play a role?