Inheritence
can you tell me where is used inheritence conecept in real world
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Abhay ShankerRank #375 · 6.7K reputationPosted Nov 27, 2013, 10:39 PM EST
http://toptechnologyz.blogspot.com/2011/12/real-life-examples-of-polymorphisms.html
http://www.codeproject.com/Articles/1445/Introduction-to-inheritance-polymorphism-in-C
http://csharp.net-tutorials.com/classes/inheritance/
http://csharp.net-tutorials.com/classes/inheritance/
http://www.onlinebuff.com/article_understanding-the-relationships-inheritance-association-aggregation-and-composition-in-c_20.html
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Nov 27, 2013, 10:43 PM EST
http://www.psworld.pl/Programming/Inheritance
http://www.c-sharpcorner.com/UploadFile/grusso/ImplInherit12032005000508AM/ImplInherit.aspx
Pratiyush AnandRank #2,423 · 582 reputationPosted Jan 9, 2014, 9:13 AM EST
1.You may create another class (Bajaj) with some method same as in Automobile class(You need to rewrite the code).
2.You may use the property of Parent class (Automobile).
In second case you need to use Inheritance. Thus Inheritance avoid the re-usability of code.
Hope it will help you..!! :)
Abhijeet SinghRank #415 · 6K reputationPosted Mar 19, 2014, 9:59 AM EDT
If it is helpful then mark it as an answer.