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
Explain enumerator?
Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?
Which classes a dll can contain?
What is difference between inline and code behind?
Is vb net a scripting language?
What are the two main parts of .net?
What are nested classes?
How to store decimal data in .net?
What is a literal control?
What is the diff between vb mdi form and .net mdi form?
Write the role of new keyword?
Which is the base class for all the classes in .net framework?
Why do you need Lock in Visual Basic?
What is the difference between static or dynamic assemblies?
Can you please explain the difference between dispose and finalize()?