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
What is deep copy?
Explain nested classes?
What are the shared variables?
Explain public assembly?
What is portable executable?
What is the difference between compiler and interpreter?
Define clr?
What is the difference between a "jagged array" and multidimensional array" ?can anyone show me it practically ?
Explain managed code?
Explain the use of serialization and deserialization?
Explain trace in vb.net?
What is the diff between vb mdi form and .net mdi form?
What is vb.net used for?
What is globalization?
What is the difference between custom control and user control?