151k views
0 votes
Class or Variable "____________" serve as a model for a family of classes or variables in functions` definitions

User CJ Harmath
by
4.8k points

1 Answer

7 votes

Answer:

Parameter.

Step-by-step explanation:

A parameter variable stores information which is passed from the location of the method call directly to the method that is called by the program.

Class or Variable parameter serve as a model for a family of classes or variables in functions' definitions.

For instance, they can serve as a model for a function; when used as an input, such as for passing a value to a function and when used as an output, such as for retrieving a value from the same function.

Hence, when you create classes or variables in a function, you can can set the values for their parameters.

For instance, to pass a class to a family of classes use the code;

\\parameter Name as Type (Keywords) = value;

\\procedure XorSwap (var a,b :integer) = "myvalue";

User Nthpixel
by
4.9k points