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

Answer Posted / deepika galankar

no . we can have same function name with arguments differ
in number,type and different order of data types . but for
function overloading compiler ignore return type.
so we can have funfions with same no of arguments differ in
sequence of data type irrrespective of return type ..

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain partial key?

816


How much does it cost to build a database?

739


What is the role of driver manager?

750


how can we view column head in first page but not in remaining pages?

1800


What is a Database?

1193


There are three servers are run by Oracle, MS Access and .Net. What are the procedure fetching the values of two variables from two servers among these?

1884


What happens when shared and exclusive locks are applied on data item?

795


What is sharded database?

683


I have single column in a file. Input 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 my output is file 1 have 1,2,3,10,11,12 file 2 have 4,5,6,13,14,15 and file 3 have 7,8,9 how is it possible in datastage

1346


First input columns brand, mt, re values are ov, 1,re vg, 2,re wu ,3,re. Second input columns are brand, mt, cx their records are ov,4,vg ,5,cx Wu, 6,cx and third input columns brand, mt, rt values are ov,7,rt vg, 8,rt wu, 9,rt but my output is brand, re, cx,rt values are ov, 1,4,7 vg, 2,5,8 wu, 3,6,9

1483


What the various ways to tune a teradata query

2961


What is the difference between specialization and generalization?

764


Write a query to retrieve for many to many relationships?

745


issues involved in modeling and building data werahouses

1724


Which is the best graph database?

693