Composition is again specialized form of Aggregation and we can call this as a “death” relationship. It is a strong type of Aggregation. Child object dose not have their lifecycle and if parent object deletes all child object will also be deleted. Let’s take again an example of relationship between House and rooms. House can contain multiple rooms there is no independent life of room and any room can not belongs to two different house if we delete the house room will automatically delete.
You can refer to this below blog to know more about Composition and other aspects
https://www.edureka.co/blog/cheatsheets/java-oop-cheat-sheet/
-Java OOPS Cheat Sheet