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
Name some different types of control?
Can you please explain the difference between system.string and system.stringbuilder classes?
Allowed program to auto-correct the database when loading a presentation.
Is vb net a scripting language?
What is the advantage of using system.text.stringbuilder over system.string?
What’s the difference between private and shared assembly?
What are the different variables in vb.net?
How to store images in sql server database through vb.net?
Explain the difference between vb.net and c#, related to oops concepts?
What is portable executable?
What is the difference between compiler and interpreter?
What is the advantages of VB.NET?
Can you please explain the difference between namespace and assembly?
What is an assembly and its use?
What are jagged arrays ?