I'd like it by value. When a method is called with a parameter, the argument's value is passed to the parameter. This circumstance is a pass by value.
The variable "myAge" currently has a value of 15. (see illustration on the right). When a variable is passed to a function by reference, the function is also given the variable's memory address, which is a pointer to the variable's location in memory.
Pass by value, commonly known as "call by value," refers to the practice of copying data supplied as function arguments (new memory is generated to retain them for the length of the function call), rather than using aliases or references.
To know more parameter visit :-
https://brainly.com/question/14263758
#SPJ4