0

Why method overloading is not possible by changing the return type in java?

can01 Answered question
User Avatar

Because of ambiguity, method overloading in Java is not achievable by merely modifying the method’s return type.