What is composition in C++ with examples?

Composition relationships are part-whole relationships where the part must constitute part of the whole object . For example, a heart is a part of a person’s body. The part in a composition can only be part of one object at a time.

Sizin İçin Seçtik  What are the limitations of React Mcq?

Leave a Reply

Your email address will not be published. Required fields are marked *

What is composition in C++ with examples?

Composition relationships are part-whole relationships where the part must constitute part of the whole object . For example, a heart is a part of a person’s body. The part in a composition can only be part of one object at a time.

Sizin İçin Seçtik  What is composition in oops?

Leave a Reply

Your email address will not be published. Required fields are marked *