View RSS Feed

Java Object

Object-oriented programming in Java.

  1. Composition and Aggregation using Java

    by , 04-26-2012 at 06:15 PM
    Always, there exist a confusion b/w aggregation & composition. In case of a practical field of aggregation and compostion, it shall be kept in minf that both of them are of association type. Below is given the definition of term. After that practical java code is given so that to exactly understand that how aggregation and composition implementation could be implemented in programming.

    Composition:
    Objectís life time is considered to be the same. For instance, composition ...
    Categories
    Composition