C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Definitions » General »

Overriding vs overloading


Posted Date: 07 Oct 2009    Resource Type: Definitions    Category: General
Author: KunalMember Level: Gold    
Rating: 1 out of 5Points: 2



Overriding vs overloading



Overriding - Function with different implementation in different classes but with same signatures and name.
This will implemented in parent child relationship

Overloading - Function with different implementation in same class but with different signatures (order/type of the arguments is different) and same name.



Responses

Author: shital umare    13 Oct 2009Member Level: Silver   Points : 2
When overriding a method, you change the behavior of the method for the derived class.
means changing the behavior of a certain method in the child class from the way it is behaving in the parent class

Overloading a method simply involves having another method with the same name within the class.
means creating multiple methods with the same name, but different signatures, in the same scope.


regards
Shital Umare


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Overriding/overloading  .  Overriding  .  Overloading  .  Difference  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: What is data structure?
Previous Resource: Database Basic Definitions
Return to Discussion Resource Index
Post New Resource
Category: General


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use