Abstract and Inheritance

Posted by Venkatesh under C# on 3/4/2011 | Points: 10 | Views : 1652 | Status : [Member] | Replies : 4
Hi,

When to use abstract and Inheritance.


Thanks & Regards
Venkatesh




Responses

Posted by: SheoNarayan on: 3/4/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Hi Venkatesh,

There are few posts on this website that explains this topic, you can read them to understand

http://www.dotnetfunda.com/interview/exam90-what-is-abstract-class-.aspx
http://www.dotnetfunda.com/articles/article467-abstract-class--explained.aspx
http://www.dotnetfunda.com/articles/article645-abstract-method-and-abstract-class-.aspx
http://www.dotnetfunda.com/articles/article1183-abstract-class-.aspx

Hope this will help.

Thanks


Regards,
Sheo Narayan
http://www.dotnetfunda.com

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 3/4/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Check these links as well

http://www.sap-img.com/java/when-we-go-for-abstract-and-interface.htm

http://www.codeproject.com/KB/cs/abstractsvsinterfaces.aspx

Thanks
Karthik
www.f5Debug.net

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Madhu.b.rokkam on: 3/4/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Check this link too

http://stackoverflow.com/questions/558164/how-do-you-decide-between-using-an-abstract-class-and-an-interface



Thanks and Regards
Madhu

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gsolvers on: 3/5/2011 [Member] Starter | Points: 25

Up
0
Down
Abstract class are required where you are setting up some basic functions to be used and customized by others. While inheritance you others have benefit of using the defined function or extending it.

Best Regards,

VG
www.TeacherJi.com

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response