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

which statement about the light microscope is correct?
After having a sonogram a pregnant woman learns that she will have twins, find the probability of identical twins given that the twins consist of two boys
After the Revolutionary War, What did Congress fear about having a strong central (national) government?
what event marks the beginning of the great depression
You bought a 300.00 tv,a loptop for $800.00and a digital camera for 249.99 the sale tax rate $5.55/%.what is the total purchase price before sales tax?what is s
A gift box is 15 inches long, 10 inches wide, and 3 inches high. How much wrapping paper is needed to wrap the gift box?
Do all children born to blood types AB and A have blood type B?
Which of the following explains why historian A mentions the issue of slavery while historian B does not
A compound is found to contain only 24.5 g nitrogen and 70.0 g oxygen. what is the compounds empirical formula.
An energy drink company claims that its product increases students' memory levels. To support its claims, the company issues advertisements claiming that 8 out