As a beginner, I have been learning about composition and inheritance. I realized that when using composition you do not create objects but a composition. I am a bit confused here. Lets say that we are building a human with a head, 2 arms and 2 legs.
Normally, what I would do is create arms legs and head classes and then create the object human which are build up by those. But in composition, you instead build a human class which are linked to other classes? Where am I wrong?