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 is jagged array in vb.net?
Explain about visual basic?
Explain private assembly?
What would you do to remove microsoft visual basic name space?
What is the difference between datagrid and gridview?
Explain enumerator?
List the types of authentication?
Explain the advantages of vb.net?
What is the maximum size of the textbox?
Explain convert.tostring and i.tostring method?
Is vb.net a programming language?
Explain about globalization?
List the different types of assembly?
What do you mean by serialization and deserialization?
Explain the difference between an xml "fragment" and an xml "document."