class A association class B if class A has class B as class’s member varriable
class A inheritance class B if A is child of class B
class A relization interface B if A implement B’s all method
class A has dependency on class B if A has reference about class B in the field of parameter, local variable, method return type
add concept of set to association, their’s no different in code but only concept is different
concept is simmilar to aggregation but their are some difference like bellow
if A has compostion about B
first sentence mean like that
reference:
https://en.wikipedia.org/wiki/Class_diagram