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

What is sealed class?

1202


Explain how to achieve polymorphism in vb.net?

984


Explain the difference between int and int32?

998


What languages does the .net framework support?

1045


What is the ruby interface generator?

1097


What is an arraylist?

1171


Write a VB.Net console program to check whether a number is perfect or not.

7890


What are the objects in asp.net?

1206


What is the strong name in .net assembly?

1053


Explain an assembly and its use?

1079


What is datatype conversion?

1207


What is different between web.config and machine.config and where it will be ?

1075


Which classes a dll can contain?

1031


What is internal keyword in .net framework?

1094


Described strong typing and weak typing?

1120