Can a method be overloaded based on different return type but same argument type in programming?
Submitted by: AdministratorNo, 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.
Submitted by: Administrator
Submitted by: Administrator
Read Online Programming Job Interview Questions And Answers
Top Programming Questions
☺ | Differentiate persistent & non-persistent objects in programming? |
☺ | What is meant by “method-wars” in Programming? |
☺ | How many ways can an argument be passed to a subroutine in programming? |
☺ | What is the difference between shadow and override in programming? |
☺ | What are the steps involved in designing in programming? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |