Can a method be overloaded based on different return type but same argument type ? Ans. No, because the methods can be called without using their return type in which case there is ambiquity for the compiler. - Study24x7
Social learning Network
03 Nov 2023 10:23 AM study24x7 study24x7

Can a method be overloaded based on different return type but same argument type ? Ans. No, because the methods can be called without using their return type in which case there is ambiquity for the compiler.

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles