Creating a Method
- Activate the Outline tab.
- Select a diagram.
Do one of the following:
- In the Insert menu, select Method.
- Click the
Insert Method button.
A new method is created in the Outline tab.
- Enter a name for the method and press <Enter>.
Every class contains one or more methods, the default method calc is created automatically. A method can have a number of arguments and a return value. The arguments and the return value can be modified using the method signature editor.
See also
Adding an Argument to the Method