Containership (computer science)

Containership (computer science)

In OOP supported languages, container ship means an object is created within another object.

For Example in C++:

class A{ int a;}x;

class B{ A y; // All the data members and member functions of class A can be accessed through the object 'y'}z;

See also

* Object composition


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Naval architecture — Tahitian Princess in Tórshavn, Faroe Islands, August 2009 Naval architecture is an engineering discipline dealing with the design, construction, maintenance and operation of marine vessels and structures.[1] …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”