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


Please Help Members By Posting Answers For Below Questions

Explain i.tostring method?

530


What is the feature which is common to all .net languages?

484


Name some of the features of C# which are not present in VB.NET?

561


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

1924


What is datatype conversion?

552






What are the different types of applications supported in .net (or) .net framework?

525


How to retrieve images in sql server database through vb.net?

532


Can you please explain the difference between value and reference types?

535


Explain the difference between value and reference types?

461


What is pre-jit?

547


Explain about Visual basic.NET culture?

604


What is strong typing and weak typing?

552


What is the advantage of using system.text.stringbuilder over system.string?

618


Which control is an example of an object in vb net?

6468


Describe about visual basic.net?

567