Inheritance has many merits, why it was implemented in the first place, it allows the reuse of code for similar classes, and it does an excellence job of organizing class relations. One "demerit" one might argue would be the fact that poorly written parent classes could be easily hacked into, thus gaining access to the parent class's internal methods simply by extending it.
The issues in the parent class would be passed on to the children. If the memory management or Thread management in the parent class is very poor, then the child class would inherit these features and its performance would be affected and would remain bad.
Merits of inheritance include the preservation of family wealth, passing down of values and traditions, and potential financial security for descendants. However, demerits can include inequality among heirs, potential conflicts over assets, and perpetuation of wealth disparities.
A merit is a quality of being good. Demerit is a word used to describe a feature or fact about something.
what is merits and demerits of posters and advertisement? what is merits and demerits of posters and advertisement? what is merits and demerits of posters and advertisement? what is merits and demerits of posters and advertisement? what is merits and demerits of posters and advertisement? what is merits and demerits of posters and advertisement? what is merits and demerits of posters and advertisement? what is merits and demerits of posters and advertisement? what is merits and demerits of posters and advertisement?
hotel merits and demerits
merits and demerits of plastics
Merits and demerits of liberalization is demerits of liberalisation. This is well known.
criket merits and demerits
merits and demerits of fasion
Merits and Demerits of media?
What are the merits and demerits of an economic system?
merits and demerits of privatization of VSNL
merits and demerits of wages and salary administration
what are the merits and demerits of tally?
merits and demerits of index number