Why avoid Java Inheritance "Extends"
<p>Good day!</p>

<p>Jame Gosling said “You should avoid implementation inheritance
whenever possible.” and instead, use of interface inheritance.</p>

<p>But why? and how can we avoid "extends" and at the same time, make our codes Object Oriented.
Can you give an example on how to make an OO code using this concept when ordering a book in a bookstore?</p>

<p>Thank you in advance.</p>
