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

PLEAS HELP. A museum is creating an exhibit about atoms.Which type of exhibit would best explain what atoms are. A:put an atom on a poster in the exhibit
A transition paragraph often helps to show a change in scene, season, or characters. True False Please ASAP ASAP ASAP ASAP ASAP
In which climate zone is the Sahel located? (1 point) a.arid b.semi-arid c.tropical wet d.tropical wet and dry
Which is an effect of short-term exposure to stress?
4, ?, 68 what does that mean?
Maya Angelou shows in the narrative that she was jealous of siblings. made money for her family in cotton fields. longed for a mentor to admire. found out she w
Which word in the sentence is the predicate adjective? Your idea sounds very good to us. a. Your b. idea c. very d. good
How were immigrants’ experiences different at Ellis Island than Angel Island? a.Most immigrants left Ellis Island very quickly. b.More people with medical probl
Which one of the following sentences includes a prepositional phrase? A. He came when I was away. B. Because it was raining, Gladys stayed indoors. C. Lois tr
What inner planet has enough gravity to hold on to all its gases