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

Find all powers of 4 in range 4 through 1,000
How many atoms are in 0.750 moles of zinc?
What is biogeography and what does it provide?
5x+4y+100 in slope intercept form
Which of the kingdoms has the smallest number of known species
you measure or observe two events to occur at the same time one nearby and one further away. Which one did you actually see first?
Write a system of equations with a solution (4,–3)
After what happened on April 19 can war between the colonies and Great Britain be avoided?
What is biogeography and what does it provide?
which factor made the most difference in how agriculture affected the economies of the colonies?