You can create an operation as follows:
You can create the following types of operation in a class or interface:
-
Your own operations
-
Operations inherited from a parent of the current class
-
Standard operations such as constructors/destructors or initializers
-
Operations to be implemented from an interface by which the current class is linked by a realization link
For general information about creating objects, see the Objects chapter in the Core Features Guide.