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 does assert() method do In VB.NET
Explain managed code?
How to execute VB.NET PROJECTS,VB6.0 PROJECTS AND write their test cases.Need Reply Urgently
Name the class which allows an element to be accessed using unique key?
Explain how does the xmlserializer work?
Tell me how many .net languages can a single .net dll contain?
What are the different types of Lock available in Visual Basic?
what is difference between namespace and assembly?
Explain namespace?
Explain how can we remove handlers at run time?
Explain the use of new keyword?
Explain the use of console application?
What is the differnce between managed code and unmanaged code?
Explain about the feature anonymous type?
What is the difference between convert.tostring and .tostring() method?