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 is datatype conversion?
Explain the difference between value and reference types?
What is sorting in vb?
Explain about visual basic.net?
Explain an assembly and its use?
Can you please explain the difference between vb and vb.net?
Explain convert.tostrin?
Tell me how many .net languages can a single .net dll contain?
Using VB, how can you change the Mouse Pointer?
Name a feature which is common to all .net languages?
Described strong typing and weak typing?
how many server control present in .net
Explain the advantages of migrating to vb.net?
Explain how can we remove handlers at run time?
What is tracing?