foxkitty6311 foxkitty6311
  • 03-07-2021
  • Computers and Technology
contestada

how many copies of each static variable and each class variable are created when 10 instances of the same class are created

Respuesta :

samuelonum1
samuelonum1 samuelonum1
  • 03-07-2021

Answer:

Static variables are initialized only once

Explanation:

Only one copy of static variables are created when 10 objects are created of a class

A static variable is common to all instances of a class because it is a class level variable

Answer Link

Otras preguntas

when do you encounter analogies most often
Divide 969 by 26. A. 32 r 6 B. 28 r 5 C. 29 r 17 D. 37 r 7
Which two words below are using the hyphen correctly? A. Ex-husband B. Pre-school C. Self-evident D. Re-tell
What is the value of x if 2x+5=10
How can I apply Real Number System in my daily life?
A marble factory ships marbles using bags of 10, cases of 100, cartons of 1,000, and boxes of 10,000. The factory has an order for 3,570 marbles. How can they
The structure that surrounds the cytoplasm in a bacterial cell is the
Which pair correctly uses a hyphen? A. Four-million B. Two-thousand C. One-hundred D. Three-fifths
calculate the kinetic energy of a 4kg cat running 5m/s
What was the relationship between the Reformation and the printing press? A. The new availability of printed books made the Reformation spread quickly. B. Marti