This is a question my interviewer asked me. My Answer is -
if we assign an object of the derived class to the reference of the base class , the members of the derived class will eclipse or hide.
he didn't tell it's wrong or right. I want to confirm it.
There is no such concept "object eclipsing".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With