What is the Difference between Overriding and overloading?
Answer Posted / sudesh sangwan
overriding:in overriding is done in inheritance,we having same method name as in base class and having same signature.
it is resolved at run time.
overloading:
in overloading we have many method with same name but different parameter.
it is resolved at compile time.
eg:
int add(int a,int b)
int add(float a,float b)
int add (string a,string b)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What’s the difference between private and shared assembly?
what is diffrence constructor and destructor in vb
What is late binding and early binding?
Which class allows an element to be accessed using unique key?
What is the source code for display the picture in button click event?
List the two main parts of .net?
Explain about Visual basic.NET culture?
Explain about the ruby interface generator?
Which is the base class for all the classes in .net framework?
What is the main use of a namespace?
Explain private assembly?
How to send xml file on server using http protocol?
Explain cls?
What is datatype conversion?
Define naming convention?