The Composite/Aggregate Reuse Principle (CARP) is generally called the Composite Reuse Principle (CRP), which is defined as: tryto use composite/aggregate instead of inheriting to achieve the purpose of reuse.
The principle of composition/aggregation reuse isto use some existing objects in a newobjectto make it a part of the newobject; the newobject achieves the purpose of reusing existing functions by delegating to these objects held internally. Instead of getting existing functions through inheritance.