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 jagged arrays ?
Why do we use ansi keyword?
Explain the difference between value and reference types?
What is the importance of a Button control?
Explain and brief about rapid application development tool?
Define clr?
what is difference between namespace and assembly?
what is commom language runtime?
What is econo-jit?
Explain the difference between thread and process?
Explain the difference between datatable and dataset?
what is common language specification?
Explain the advantage of option strict on?
What is the exact defination of object?
Explain global assembly cache (gac)?