title: Code based examples on difference between Aggregation, Composition and Dependency
body: <p>What is the difference between different types of association i.e. aggregation, composition and dependency? explain with the help of code examples(in java, C++ or pseudo code).</p>