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

common sites for venipuncture
What is the theme of War of the Words ?
Hydrogens removed from compounds during the glycolysis and citric acid cycle phases of cellular respiration are usually transferred to:
What group or groups do interest groups over represent?
Please Help!! how much heat will be released when 10.0g of hydrogen peroxide decomposes according to the following reaction: 2H2O2(l)--> 2H20(l)+ O2(g) H
What made europeans want to explore during the age of discovery?
Which one of the following styles is considered provincial? A. Eclectic designs B. Gothic designs C. Seventeenth-century English designs D. E
How did new technologies affect motion pictures in the 1920s?
While we know the English colonists began exploring to secure freedom from religious persecution choose the best answer as to reasons that other European nation
Why is the amoeba considered an outgroup in this cladogram?