Some alternatives to inheritance
Hi Friends
What are some alternatives to inheritance?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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
Satyapriya NayakRank #47 · 31.5K reputationPosted Nov 19, 2012, 1:07 AM EST
VulpesRank #55 · 29.2K reputationPosted Nov 19, 2012, 3:51 AM EST
However, this is a crude approach which duplicates code and explains why inheritance and virtual members were introduced into object oriented languages in the first place!