What is the Difference between Overriding and overloading?
Answer Posted / m.usama
Overloading:
1.Methods having same name with different number of
parameters or different data type with same number of
parameter..
2. It is possible that overloading in inheritance..
Overriding:
1.The method in the derived class the has the
same name and same parameters in the base class and it
changes the behavior or functionality of the method in the
derived class,with overriding single reference of method is
created in memory of override function ..
2. Must be public.
3. possible in inheritance.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is static member?
What are the technology areas that microsoft.net contains?
What is early binding?
What is the significance of delegates. Where should they be used?
how to deploy vb.net with key and evaluation time? any one can help me?
List the two main parts of .net?
What is stack used for in vb. Net?
What is the advantages of VB.NET?
Explain clr?
Is vb.net dead?
What is difference between inline and code behind?
Explain the difference between dispose and finalize()?
How many classes a dll can contain?
What is the importance of a Button control?
What are the advantages of vb.net and c#?