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

Joel is looking at cost for using a gym. He could pay $50 per month for unlimited use or he could pay $12 per month plus $4 visit. How many visits would he have
A cube-shaped gift is 11 centimeters long. What is the least amount of wrapping paper you need to wrap the gift?
Which situation is the best example of irony?
Sabrina threw a coin from a building 160ft high at an initial speed of 30 feet per second. How many seconds will it take for the coin to hit the ground? Hope I
how many free states and slave states were there in 1848?
Find the slope of a line perpendicular to y=3x+7.
I need help on c please bad!
Later in their conversation Faber says those who don't build must burn its as old as history and juvenile delinquents. What does he mean
What was part of President Nixon's plan of "peace with honor"?​
You have 120 grams of a radioactive form of nitrogen. If its half-life is 10 minutes, how much, in grams, will be left after 20 minutes?