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
Explain how the .net framework performs automatic memory management.
Described strong typing
What does assert() method do In VB.NET
How does vb.net achieve polymorphism?
What is pre-jit?
Explain the use of serialization and deserialization?
What is code access security?
What is early binding?
What is globalization?
What are jagged arrarys ?
What is the difference between manifest and metadata?
What is the use of internal keyword?
Explain managed code?
What are the features present in vb 2005?
What are all the differences between dispose and finalize()?