Community

Java tip: When to use composition vs inheritance

(Jeff Friesen) In Java 101: Inheritance in Java, Part 1, you learned how to leverage inheritance for code reuse, by establishing is-a relationships between classes.