title: Some confusion regarding inheritance
body: <p>I am reading a book where I dont understand below 3 problems mention about inheritance : </p>
  
  <p>1 ) First, you can't change the implementations inherited from parent classes at run-time, because inheritance is defined at compile-time.</p>
  
  <p>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".</p>
  
  <p>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.</p>
  
  <p>All the above points was mention without any code snippet so I am having problem understanding above 3 points.</p>
  
  <p>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.</p>