Basic and Advance Programming Question:
Download Questions PDF

Can a method be overloaded based on different return type but same argument type in programming?


No, method can not be overloaded because the methods can be called without using their return type in which case there is ambiguity for the compiler in programming languages.

Download Programming Interview Questions And Answers PDF

Previous QuestionNext Question
What is Downcasting in Programming?What are the advantages of OOPL in a programming language?