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 / manoj gharat

it will throw compile error because of same parameter's
data type in second overloaded function.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Example from .net. Integer & struct are value types or reference types in .net?

552


When should I use .net core?

559


Define marshling?

596


Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component

1856


How can I find out what the garbage collector is doing?

540






what is the meaning silverligt control

1681


Explain what does managed mean in the .net context?

509


Tell us what is heap and what is stack?

567


Differences between dll and exe?

608


What are the advantages of .net?

543


what user controls are and what server controls are and the differences between the two.

1610


How to prepare parametrized (with more than one parameters) crystal report. Please tell me the code procedure, if any body can?

536


Is .net a compiler?

550


Compare client server application with n-tier application

517


Interop Services?

1460