Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain enumerator?

956


Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?

2419


Which classes a dll can contain?

1029


What is difference between inline and code behind?

1094


Is vb net a scripting language?

1025


What are the two main parts of .net?

1051


What are nested classes?

991


How to store decimal data in .net?

1149


What is a literal control?

1062


What is the diff between vb mdi form and .net mdi form?

1048


Write the role of new keyword?

1197


Which is the base class for all the classes in .net framework?

1053


Why do you need Lock in Visual Basic?

1146


What is the difference between static or dynamic assemblies?

1070


Can you please explain the difference between dispose and finalize()?

1150