July 2004
Intermediate to advanced
752 pages
35h 59m
English
An operation whose access is tied to a class, rather than to an instance of a class. See also static feature.
A class operation is a global operation in the namespace of a class. It can be invoked without an instance of the class. Its methods have access to the features of the class.
Class operations are typically used to construct new instances of a class. They are also sometimes used to access class attributes of a class.
A class operation is modeled as an attribute for which the isStatic flag is true.
A class operation is shown in the operation section of a class box using the syntax for an ordinary class with the entire operation string underlined. See Figure 14-45.
Read now
Unlock full access