Ask Question
13 January, 19:29

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

+3
Answers (1)
  1. 13 January, 20:41
    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?
Find an answer to your question ✅ “When an object is instantiated, it receives its own copy of all static variables of the class? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers