mahaleyrenee5711 mahaleyrenee5711
  • 25-11-2020
  • Computers and Technology
contestada

When you pass a double variable to a method, the method receives ______.a) a copy of the memory addressb) the reference of the variablec) the length of the variabled) a copy of the variablee) the binary memory address

Respuesta :

codiepienagoya codiepienagoya
  • 27-11-2020

Answer:

The answer is "Option d".

Explanation:

In this question the choice d, that is "a copy of the variable" is correct because the method takes a reference value or a copy of the variable in its parameter, the example of this question can be defined as follows:

void me2(double x)//defining a method me2 with a double parameter

{

//method body

 }

double x = 35.655;//defining a double variable x

me2(x);//calling a method with passing the copy of th e variable

Answer Link

Otras preguntas

Subsets of 13 over 62
When Socrates refers to the Twelve Labors of Hercules and the comedies of Aristophanes in The Apology, he is employing what literary technique? A.allusion B.met
can someone help me graph this y−5=4/3(x−5) (tell me the coorinates)
Define Newton’s three laws of motion and how they apply to everyday situations.
What were the dangers of being an auctioned pauper ?
In what process do bacteria break nitrogen gas down into a usable form for plants? A. fission B. decomposition C. conjugation D. nitro fixation
What materials did the maya use for farming
Which country was the first in the world to launch a mass media campaign in response to population growth? Question 1 options: India China Kenya Australia
Can u answer all of the bottom questions please?
Which of these writers is considered the founder of the English novel? Jonathan Swift Daniel Defoe Alexander Pope John Bunyan