0
In Inheritance, does base class is dumped into derived class or reference address of base class is created in derived class?
I searched a lot in internet. But I didn't find actual answer. If base class is dumped into derived class, then how reusability is achieved? If so, don't the lines of code increases in the backend? If lines of code increases, space complexity increases, don't it affects a lot? I want a clean and clear explanation on it. Can anyone help....!! I am not talking about particular language like c++, java etc .. I think mechanism of inheritance is same in all languages. If not, please explain me about that also. Thanks in advance....
4 Respuestas
0
GHOST mHBr
I didn't find answer there
0
Pardha Saradhi
I think object oriented in base is relevant to hardware because we have object oriented architecture in CPUs
0
GHOST mHBr
Maybe.. but I am talking about memory management. I am talking about backend process of inheritance