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
Name some of the keywords used in vb.net?
What is jagged array in vb.net?
What are all the differences between dispose and finalize()?
Name some of the features of C# which are not present in VB.NET?
What are the difference between dispose(), close(), exit(), end()?
Explain jagged array in vb.net?
Explain the difference between .dll extension and .exe extension files?
What do you mean by serialization and deserialization?
What is internal keyword in .net framework?
Explain convert.tostrin?
What is the role of new keyword?
Why do you need Lock in Visual Basic?
Define cls?
What is option strict?
What are the advantages of an assembly?