Can methods be overloaded based on the return types ?
A method cannot be overloaded on the bases of return types because the compiler will check only the method signature( name of the method and the arguments).So a method cannot be overloaded on the bases of return types.