Class Composition
- Classes may be built by using objects of other classes as data
members. This is
known as class composition
- When a class is composed of objects of other classes, the constructors
of the component classes are invoked before the constructor of the
container
class. Example...
Back to Previous Page
Document:
Local Date:
Last Modified On: