title: What will be the best example of inheritance in core Java libraries?
body: <p>I'm preparing to interview and think that would be good if my answer for the question like "Explain inheritance in java with an example" will be real implementation from core java classes. 
  There are many examples like Animals hierarchic or Shape but I think it would be more wisdom represent real situation and try answer for question - why this implementation good for this situation.<br>
  With that You show that you have good knowledge not just inheritance but and core Java :)))
  So what do you think about that??</p>
  
  <p>Addition:
  Good another article: <a href="https://stackoverflow.com/questions/5368500/what-can-be-the-bad-example-of-inheritance-in-java">What can be the bad example of inheritance in Java?</a>
  But in this article question is opposite to my.      </p>