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
How will you load an assembly which is not referenced by current assembly?
Who is using .net core?
What is the concept of inheritance in .net?
When we use windows api in .net is it managed or unmanaged code?
Tell me what is a “jagged array”?
How do I spawn a thread?
Do you know what is linq?
What do you mean by Driver Script?
Explain different types of html, web and server controls.
object is physical and class is logical..here class is not occupying any memory as our definition of class but i got a question then the class where it stores if it is not occupying any memory....
Explain what rare the types of jit and what is econo-jit?
What is the difference between a debug and release build?
Explain me what is .net web service?
Explain security measures exist for .net remoting in system.runtime.remoting?
What is "microsoft intermediate language" (msil)?