What is the Difference between Overriding and overloading?
Answer Posted / sudhakar singh rajput
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 method.
| Is This Answer Correct ? | 51 Yes | 10 No |
Post New Answer View All Answers
So you know which dll is used for microsoft .net run time?
what's ArrayList in .Net (VB.Net or C#).What's the advantageous using ArrayList.
What is late binding?
Explain the difference between vb.net and c#, related to oops concepts?
Define serialization in .net?
What are the advantages of migrating to vb.net?
How to view an assembly?
Name the class which allows an element to be accessed using unique key?
Name some different types of control?
Explain about branching logic control in vb.net?
Explain private assembly?
How to create a constant in vb.net?
Explain the difference between import system.data.sqlclient and system.data.oledb?
how to deploy vb.net with key and evaluation time? any one can help me?
Explain the difference between int and int32?