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

What is a federalist and what do they do?
_____ interviewing, you should establish a list of skills, qualifications, and experiences related to the job and company you are interviewing with. After Wh
0.15=0.150 true or false
Identify the correct sentence. a. Drive South on Park road until you reach Euclid avenue. b. Drive south on Park Road until you reach Euclid Avenue. c. Drive
what is symmetry; in one complete paragraph please
According to the history book, Medieval to Early Modern Times (by Holt) please answer the following question: 1b) EXPLAIN How did Chinese culture change during
As a leader of florence cosimo de medici was best characterized as a
What is the probability of picking 3 people out of 7
if earth stops rotating then what will be the value of 'g' at poles
Why can't there be a number lower than absolute zero