Can A Method Be Overloaded Based On Different Return Type But Same Argument Type

Can A Method Be Overloaded Based On Different Return Type But Same Argument Type


  • 29 Dec, 2011

    No, because the methods can be called without using their return type in which case there is ambiquity for the compiler.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.