0

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

can01 Answered question May 29, 2023
User Avatar

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