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
What is the difference between static or dynamic assemblies?
What is tracing?
Explain about the feature anonymous type?
What does assert() method do In VB.NET
Explain about branching logic control in vb.net?
what is common language specification?
What are all the differences between dispose and finalize()?
Name some of the features present in vb 2005?
Name and explain some of the exclusive features which are present in vb?
So you know which dll is used for microsoft .net run time?
write a program to develop a graphic user interface application of marks book with students names and their names.the program should show the following options main menu,add student details,display student details,maximum mark and minimum mark.
What is the Advantage of vb.net over vb
How to send xml file on server using http protocol?
What is the use of console application?
What is the source code for display the picture in button click event?