Can we have a function Overloading with same number of
arguments but with different return types of function

Answer Posted / abhilash s thachil

There is a catch in the question. We can have function overloading with same number of arguments with different return types. One step ahead, we can have function overloading with same number of arguments provided the type and order of the arguments are not same irrespective of return type.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a stored procedure and a query?

796


Can you create a database in word?

742


What is replicaset?

746


What is a database connection string?

751


Is redis in memory database?

706






What do you mean by cluster and non cluster index?

745


How do you connect to a database?

815


Why merge statement is used inside the database?

817


Under which circumstance should you create an index on a table?

856


How to do Stored procedure testing? Who does this testing (Developer or tester)?

1573


Is database a hardware or software?

739


What is the purpose of firebase?

720


What the various ways to tune a teradata query

2956


Data structure used to implements a menu:

798


What is the purpose of TNS?

788