OOPS
Tuesday, 26 April 2011
Can a method be overloaded based on different return type but same argument type ?
No, because the methods can be called without using their return type in which case there is ambiguity for the compiler.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)