Objects and Classes - Modifiers - Parameter Direction
5 important questions on Objects and Classes - Modifiers - Parameter Direction
The parameters for an operation can be flagged with their intended direction.
There are four possible enumeration values to the Parameter Direction.
What four?
- In
- Inout
- Out
- Return
The rightmost column in the table indicates when the parameter’s values be trusted, an “in” or “inout” parameter will need to have .....?![]()
Parameters marked with “out,” “inout,” or “return” will have?
- Higher grades + faster learning
- Never study anything twice
- 100% sure, 100% understanding
What is the ParameterKind : InOut ?
It is common practice to order the parameters by their direction (using the order of “in,” “inout,” “out,” and “return’).
We also usually omit the direction kind “return” because we can normally recognize it by the location at the end of the operation call.
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding
![Trustpilot Logo](/images/design_2020/lp/clp-trustpilot-en.png)