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
What are the assembly entry points?
What is normal jit?
Explain convert.tostring and i.tostring method?
How can we remove handlers at run time?
Described strong typing
Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?
Can you please explain the difference between vb and vb.net?
What is pre-jit?
What is the use of internal keyword?
Explain how to store decimal data in .net?
difference between checkbox vs radiobutton??
What are the objects in asp.net?
How does vb.net achieve polymorphism?
What is sorting in vb?
What is the advantages of VB.NET?