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 does v1 and v2 represent
The spinning jenny increased the production of thread. What is the name of its inventor? A. Richard Arkwright B. John Kay C. Edmund Cartwright D. James Hargreav
Bismarck supported social insurance legislation in the german parliament to?
the base si unit for electric is the
The money supply is the total amount of money available in the economy. How do changes in the money supply affect people and businesses?
Is 25 milligrams lighter or heavier than 25 centigrams
if C is an infinite set and B is a finite set then C\B is infinite set
A total of 234 tickets were sold for the school play. They were either adult tickets or student tickets. The number of student tickets sold was two times the nu
Suppose you walk into the Capitol in Washington and ask to interview the most prominent person in the entire Congress. If they accept, you'll get an appointment
The Great Depression of 1929-1939 was different than other depressions because A. It only affected rich people, not poor people B. It affected everyone (both ri