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

Hi!!! I am student of languages and I need know if my answers are correct
Order the following numbers from least to greatest 1045 10^-99 10^17 10^14 10^-5 10-30​
What did the Spanish and Louisiana gain as a result of the Treaty of Paris 1783 and the end of the Revolutionary War?
Why was a weak national government created under the Articles of Confederation?​
Which equation represents a line which is perpendicular to the line 2x + 7y=14?
Translate a quiz into Spanish ​
If a car travels at 80ft/s. What is the Kinetic Energy of the car if mass of the car is 18kg​
BRAINLIEST!!! Help please :)What percent of energy is transferred from the sun to the level indicated?Food pyramid showing plants at the bottom level. Insects a
Where did the historians who wrote state and national history books get the information for their accounts? A from local people who told their stories B from h
I need help ASAP (could someone also explain it please)