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 / 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

Name the class which allows an element to be accessed using unique key?

1004


How do you script this scenario in QTP using VB? Verify XML attributes in XML message against XSD and data mapping of fields to Oracle tables? Verify data in XML to data in a defined table?

2959


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

944


How do you define a read only property in a class module?

943


What is a preprocessor directive in vb.net?

989


How would you implement inheritance using vb.net?

915


What are the difference between structure and class?

1176


What is redim keyword and its use?

1039


what is difference between web.config and machine.config and where it will be ?

939


how to deploy vb.net with key and evaluation time? any one can help me?

2213


Can you please explain the difference between thread and process?

984


What is static member?

1009


Which dll is used for microsoft .net run time?

984


Explain the difference between c# and vb.net?

1070


What is the Advantage of vb.net over vb

1000