ELI5: Explain Like I'm 5

Has-a

"Has-a" is a way to explain how one thing relates or is connected to another thing. Imagine you have a toy car. The toy car has four wheels. The toy car "has-a" relationship with the four wheels because the wheels are a part of the car.

Another example is a house and its rooms. The house "has-a" relationship with the rooms because the rooms are inside the house. The same can be said for a person and their body parts. A person "has-a" relationship with their arms, legs, and other body parts because they are a part of their body.

So, when we say something "has-a" relationship, it means that one thing is connected to another thing in a way that they cannot be separated. They are like partners in crime, they are always together!
Related topics others have asked about: