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? |
| ☺ | List out some of the object-oriented methodologies? |
| ☺ | What are inner class and anonymous class concept in Programming? |
| ☺ | What do you meant by active and passive objects? |
| ☺ | What is the difference between procedural and object-oriented programs? |
Top Coding/Programming Categories
| ☺ | Python Interview Questions. |
| ☺ | OOP Interview Questions. |
| ☺ | Software engineering Interview Questions. |
| ☺ | PHP Interview Questions. |
| ☺ | VBA (Visual Basic for Applications) Interview Questions. |
