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
How can I extract the formated word(bold,italic,underline,font,color etc) from the msword file.?
What is late binding and early binding?
What are the advantages of VB.NET?
Explain manifest?
Explain managed code?
What is redim keyword?
What are the parts of the visual basic control?
What are the two main parts of .net?
What are jagged arrarys ?
How to store decimal data in .net?
What is the use of internal keyword?
Explain some of the exclusive features which are present in vb?
Explain public assembly?
Explain the components of common language runtime.
Explain the difference between value and reference types?