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
☺ | What are the advantages of OOPL in a programming language? |
☺ | Differentiate between a template class and class template in programming? |
☺ | What are inner class and anonymous class concept in Programming? |
☺ | What is Python and what is scope of Python? |
☺ | Does a class inherit the constructors of its superclass 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. |