Skip to content

MediumConceptCore Java and OOP

What is the difference between composition and inheritance, and which do you prefer?

This answer is part of Pro

12 of 61 Java Developer answers are free. A Pro pass opens the rest, including hands-on task steps.

More on Core Java and OOP

Flashcards for this topic