quelicristinacr6104 quelicristinacr6104
  • 01-07-2021
  • Computers and Technology
contestada

When a primitive type variable is passed as an argument to a method, what is passed into the receiving method's parameter variable

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 04-07-2021

Answer:

The value of the primitive type variable is passed into the receiving method

Explanation:

Examples of primitive data types are integers, floats, real, double, character, byte, etc.

When any of these data types variables are passed to a method, the method which receives the variables receives the value of the variable being passed.

Take, for instance; the following code segment:

int doubleNum(int num){ ..... }

int main(){ ... num = 2; doubleNum(num);}

The above function doubleNum will receive the value of num (which is 2).

Answer Link

Otras preguntas

According to their party platform, the Democratic party would likely oppose an effort to __________. a. alleviate poverty b. remove business regulations c. refo
Which number is 164,502,423 decreased you 100,000?
wich is the most abundant element in erath's crust
Solve the following system of equations using substitution. u = 6 + t 36 = 2t + u A. t = 10, u = 16 B. t = 10, u = 4 C. t = 14, u = 20 D. t = 16, u = 22
When one tectonic plate moves underneath another, what is occurring? A. subduction B. collision C. uplift D. slip
What is the discount of 97.99 83.30
the lithosphere is made up of the ____
Why did Egyptians build pyramids?
What value of r makes the equation true? r + (–0.16) = 0.37 a. –0.53 b. –0.21 c. 0.21 d. 0.53
Alex is thinking of a doubles fact the sun is greater than the sum 7+7 but less than the sum of 8+9. What fact is Alex thinking of?