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

What caused the rise of military government in Japan?
given: quadrilateral ABCD with ∠A= ∠C and BD the bisector ∠ABC prove: DB bisects ∠ADC
When y = x^2, which of the following expressions is equivalent to –y ?
How can i solve this f:d->R f(x)=x at power2/x-1
What caused the rise of military government in Japan?
In the formula e = hf, if e is doubled and f is halved, what happens to the value of h?
how do you figure out what is 1/4 of 10.
In the formula e = hf, if e is doubled and f is halved, what happens to the value of h?
how do you figure out what is 1/4 of 10.
How do you say little sister, little brother, older sister, and older brother in Korean? I hope someone who actually know Korean can answer this question.