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 ambiquity for the compiler.
Explore posts in the same categories: Object Oriented Interview Questions