July 2004
Intermediate to advanced
752 pages
35h 59m
English
The specification of a variable that can be changed, passed, or returned. A parameter may include a name, type, and direction. Parameters are used for operations, messages, events, and templates. Contrast: argument.
A parameter usage dependency relates an operation having a parameter or a class containing such an operation to the class of the parameter.
See also argument, binding.
A parameter is a placeholder for a value that is bound to it when the enclosing element is used. It constrains the values that the argument can take. It has the following parts.
| default value | An expression for a value to be used if no argument is supplied for the parameter. The expression is evaluated when the parameter list is bound to arguments. ... |
Read now
Unlock full access