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
Define serialization in .net?
How can we store decimal data in .net?
What is difference between metadata and manifest?
What would you do to remove microsoft visual basic name space?
What do you mean by serialization?
Explain how the .net framework performs automatic memory management.
What is tracing?
What is a preprocessor directive in vb.net?
What is deep copy?
Observations between vb.net and vc#.net?
Explain managed code?
What are different types of jit ?
how to deploy vb.net with key and evaluation time? any one can help me?
What are the shared variables?
Name some different types of control?