Ask Question
12 September, 06:14

When an object is instantiated, it receives its own copy of all static variables of the class?

+4
Answers (1)
  1. 12 September, 08:13
    0
    No.

    A static variable belongs to the class, not an instance of it. Therefore there only exists one copy of said variable at any given time.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “When an object is instantiated, it receives its own copy of all static variables of the class? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers