12,401,984 members (57,849 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Can overriding and overloading both achieve polymorphism?
Posted 21-Aug-12 0:55am
Jon_adam1.5K

## 4 solutions

Rate this:
Please Sign up or sign in to vote.

## Solution 2

Comments
ridoy 21-Aug-12 7:07am

+5
Manas Bhardwaj 21-Aug-12 9:14am

right +5
Rate this:
Please Sign up or sign in to vote.

## Solution 3

Of course Yes dear, Both overloading and overriding achieve polymorphism. And even in c# there is another concept introduced with them, that is Method Hiding.

static polymorphism :- overloading
dynamic polymorphism :- overriding and Method Hiding
Comments
ridoy 21-Aug-12 7:07am

+5
Rate this:
Please Sign up or sign in to vote.

## Solution 1

yes..Overloading is static polymorphism
and overriding is dynamic polymorphism

To know about overloadng and overriding with example. follow this link.
http://vishalnayan.wordpress.com/2011/03/01/understanding-static-dynamic-polymorphism-with-examples/[^]
Comments
Legor 21-Aug-12 7:03am

Exactly!
ridoy 21-Aug-12 7:06am

good answer..+5
Santhosh Kumar J 21-Aug-12 11:14am

thanks
Manas Bhardwaj 21-Aug-12 9:14am

+5
Santhosh Kumar J 21-Aug-12 11:14am

Thanks
Rate this:
Please Sign up or sign in to vote.

## Solution 4

Yes, By Overriding and Overloading you can achieve Polymorphism.
Comments
Sumal.V 21-Aug-12 8:19am

Reputation Points! Common! :P

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Top Experts
Last 24hrsThis month
 OriginalGriff 250 Richard Deeming 223 Karthik Bangalore 180 ppolymorphe 145 F-ES Sitecore 135
 OriginalGriff 7,073 ppolymorphe 3,030 Karthik Bangalore 2,917 F-ES Sitecore 2,187 Richard MacCutchan 2,125

Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 8 Nov 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100