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
Name and explain some of the exclusive features which are present in vb?
source code for how to login a vb.net application ?
How many ways the function can return values?
How would you implement inheritance using vb.net?
Explain the advantages of migrating to vb.net?
Can you please explain the difference between system.string and system.stringbuilder classes?
What are the differences between c# and visual basic.net?
what is difference between namespace and assembly?
Explain about branching logic control in vb.net?
How do you use two datareaders at the same time in a vb.net windows application ?
Explain cts?
What is early binding?
Did vb6 support multi-threading ?
What do you mean by deserialization?
How to store decimal data in .net?