I am reading a book where I dont understand below 3 problems mention about inheritance :
1 ) First, you can't change the implementations inherited from parent classes at run-time, because inheritance is defined at compile-time.
2) Second, and generally worse, parent classes often define at least part of their subclasses' physical representation.Because inheritance exposes a subclass to details of its parent's implementation, it's often said that "inheritance breaks encapsulation".
3)The implementation of a subclass becomes so bound up with the implementation of its parent class that any change in the parent's implementation will force the subclass to change.
All the above points was mention without any code snippet so I am having problem understanding above 3 points.
I would really appreciate if someone could help me understand above 3 points with code example and how in code each of the points impact and where.