UML Five Relations
1.Dependency
A Dependency exists between two elements if changes to one will affect the other.
Figure below shows a dashed arrow between the Shape class and the DrawingContext class. This is the dependency relationship. In Booch94 this was called a ‘using’ relationship. This relationship simply means that Shape somehow depends upon DrawingContext. In C++ this almost always results in a #include.
2.Association