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

What was the wealthy Egyptians entertainment
Merchants and the poor often supported athenian tyrants because
Which of these sentences is in the subjunctive voice? I wish it were not raining. If it stops raining, I’ll go to the ball game. When it rains, I stay home. If
Which us president established the consumer bill of rights in 1962?
After working 24 hour she made 234 dollars predict how much she made in 10 hours
a skeletal system of animals provides structure and support, which cell part provides a similar function in the cell? pili Large central vacuole Golgi apparat
What is the ratio to 36 ounces and 60 ounces?
256 miles per 8 gallons
3,842.58 rounded to the nearest tenth
A solution high in salt content will have what affect on a plant cells vacuole?