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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Abhijeet SinghPosted Mar 19, 2014, 1:59 PM
If it is helpful then mark it as an answer.
Pratiyush AnandPosted Jan 9, 2014, 2:13 PM
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..!! :)
Sanjeeb LenkaPosted Nov 28, 2013, 3:43 AM
http://www.psworld.pl/Programming/Inheritance
http://www.c-sharpcorner.com/UploadFile/grusso/ImplInherit12032005000508AM/ImplInherit.aspx
Abhay ShankerPosted Nov 28, 2013, 3:39 AM
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