Why aren't return types considered in Java method overloads?

Posted by Gogi on Stack Overflow See other posts from Stack Overflow or by Gogi
Published on 2010-03-21T06:01:53Z Indexed on 2010/03/21 6:11 UTC
Read the original article Hit count: 223

Filed under:

Why return type of a method is not considered in method overloading ? Can somebody explain , how compiler checks for overloaded methods ?

© Stack Overflow or respective owner

Related posts about java