Is it possible to have different return types for a overloaded method?
Posted
by Dunith Dhanushka
on Stack Overflow
See other posts from Stack Overflow
or by Dunith Dhanushka
Published on 2010-05-11T03:09:52Z
Indexed on
2010/05/11
3:14 UTC
Read the original article
Hit count: 174
method-overloading
In method overloading, is it possible to have different return types for a overloaded method? for example,
void foo(int x) ;
int foo(int x,int y);
double foo(String str);
in general object oriented programming, is it possible?
© Stack Overflow or respective owner