📅  最后修改于: 2022-03-11 14:58:12.158000             🧑  作者: Mango
In composition one of the classes is composed of one or more instance of other classes. In other words one class is container and other class is content and if you delete the container object then all of its contents objects are also deleted