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
Explain i.tostring method?
What is the feature which is common to all .net languages?
Name some of the features of C# which are not present in VB.NET?
i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate
What is datatype conversion?
What are the different types of applications supported in .net (or) .net framework?
How to retrieve images in sql server database through vb.net?
Can you please explain the difference between value and reference types?
Explain the difference between value and reference types?
What is pre-jit?
Explain about Visual basic.NET culture?
What is strong typing and weak typing?
What is the advantage of using system.text.stringbuilder over system.string?
Which control is an example of an object in vb net?
Describe about visual basic.net?