Cuttie6734 Cuttie6734
  • 01-08-2018
  • Computers and Technology
contestada

When any ____ type (boolean, char, byte, short, int, long, float, or double) is passed to a method, the value is passed. array?

Respuesta :

tonb
tonb tonb
  • 01-08-2018

Programming languages have value types and reference types. The latter doesn't pass the value, only a reference to where the value is located. (Like a pointer in C/C++). So the answer is "value type". If the size of the value type is small, there is no performance overhead. But bigger data types (e.g., a string) would suffer from having to be copied all the time, so they are typically passed by reference.

Answer Link

Otras preguntas

Then, in the light independent photosynthetic reactions, that energy is used to convert co2 into ________.
What is the product of 6+5i and 4+7i?
The temperature of a sample of water is changed from 10°C to 30°C. The same change in Kelvin would be A) 20 B) 100 C) 273 D) 303
ALGUIEN CONOCE A KRONO ZOMBER
The group of answers that satisfy an equation
what is divine right?
what step did peter the great take to modernize russai
Calculate the energy required to ionize a ground state hydrogen atom. report your answer in kilojoules.
I NEED HELP ASAP!!!!!!What are three important principles to follow when you do a close reading and write about it?
what are some observable properties that can be used to identify these metals?