Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
initialization
Setting the value of a newly created object—namely, the values of its attributes, links of associations that it belongs to, and its control state.
See also instantiation.
Semantics
Conceptually, a new object is created complete in one step. It is easier, however, to think about the instantiation process in two steps: creation and initialization. First, a new empty shell object is allocated with the proper structure of attribute slots, and the new raw object is given identity. Identity can be implemented in various ways, such as by the address of the memory block containing the object or by an integer counter. In any case, it is something that is unique across the system and can be used as a handle to find and access the object. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access