What is the Difference between Overriding and overloading?
Answer Posted / sanjay
1-OverLoading is Resolved at COMPILE TIME.But Overridding is
resolved at RunTime.
2-OverLoaded Methods Can Change Access specifiers.in
overridding the access level of overridden method(in derived
class) must not be more restrictive than that of overridden
method(of base class)
3-Overloaded methods can declare new exceptions.But
overridden method must not throw new exceptions than those
declared by overridden
| Is This Answer Correct ? | 28 Yes | 9 No |
Post New Answer View All Answers
Which classes a dll can contain?
How can I extract the formated word(bold,italic,underline,font,color etc) from the msword file.?
Explain the use of option explicit?
What is different between web.config and machine.config and where it will be ?
Explain the difference between dispose and finalize()?
What are all the parts of .net framework?
What are the different types of Lock available in Visual Basic?
Can you please explain the difference between authentication and authorization?
What is the difference between Namespace and Assembly?
what is the need for dynamic controls in vb.net? i would like to know for what purpose should we create the controls dynamically? please give the answer in simple words.
Tell me which namespace are used for accessing the data?
What is normal jit?
What are jagged arrarys ?
What is a preprocessor directive in vb.net?
Which is the tool which can convert visual basic old version to .net compatibility version?