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 are different types of jit ?
What is the class that allows an element to be accessed using unique key?
What would you do to remove microsoft visual basic name space?
Which is the tool which can convert visual basic old version to .net compatibility version?
How to achieve Polymorphism in VB.Net?
What are the parts of the visual basic control?
difference between checkbox vs radiobutton??
What is the difference between import system.data.sqlclient and system.data.oledb?
What is normal jit?
What is the feature which is common to all .net languages?
How to retrieve images in sql server database through vb.net?
What is redim keyword and its use?
described weak typing?
source code for how to login a vb.net application ?
How do you script this scenario in QTP using VB? Verify XML attributes in XML message against XSD and data mapping of fields to Oracle tables? Verify data in XML to data in a defined table?