i have 2 functions, int add(int a,int b);
double add(int a,int b); does this code implement
overloading? if not what will be the error?
Answer Posted / dhakir hussain
it will throw an error because the function overloading is
acheived by
1) changing the number of parameters
2) changing the order of parameters of different datatypes
we can't acheive function overloading by changing the
return type
| Is This Answer Correct ? | 26 Yes | 0 No |
Post New Answer View All Answers
Explain what is the difference between odbc and ado?
What are two different types of remote object creation mode in .net?
Please explain is the jit an interpreter?
Explain .NET architecture?
What is .net debug & trace?
What is difference between system.string and system.stringbuilder classes?
Explain the process of compilation in .NET?
Which file is taken by compiler when we have both file Application and Server Configuration file?
Explain why do we use msmq?
What does msil do?
How many namespaces are in .net version 1.1?
What do you mean by Code Access Security in .NET?
Explain me how does linq work?
I am constantly writing the drawing procedures with system.drawing.graphics, but having to use the try and dispose blocks is too time-consuming with graphicsobjects. Can I automate this?
What’s different between process and application in .net?