What is a composition in Java?

Java 8Object Oriented ProgrammingProgramming

The composition is also a type of aggregation where the relationship is restrictive i.e. If two objects are in composition, the composed object will not exist without the other.

raja
Published on 29-Dec-2017 05:15:49
Advertisements