What is the Difference between Overriding and overloading?
Answer Posted / prachee
overloading has same method but different types of
parameters, number of parameters.
overloading does not take return type to differentiate
overloaded method.
ex:
int add(int a, int b)
int add(float a , float b)
are overloaded methods
overriding comes with inheritance concept.
here parent and child both contains the same method. and
when execution takes place; child's method is called.
Is This Answer Correct ? | 124 Yes | 14 No |
Post New Answer View All Answers
Can you please explain the difference between dispose and finalize()?
Explain the services provided by common language infrastructure.
What is meant by jagged arrays?
How to connect crystal report in vb.net ?
What is the top .net class that everything is derived from?
List the different types of assembly?
What is code access security?
Explain about jagged arrarys ?
How to send xml file on server using http protocol?
How do you call a stored procedure in Visual Basic?
Explain about globalization?
Explain clr?
What do you understand by vb.net?
what is commom language runtime?
What is the significance of delegates. Where should they be used?