C++-Part 2
Static Class Members:
Characteristics of static data members:
Static class variable is efficient when a single copy of data is enough. It is initialized to zero when the first object of its class is created. Only one copy of that memb
...See more
er is created for the entire class and is shared by all the objects of that class, no matter how many objects are created They exist when the program starts to execute and continue to exist throughout the program's entire lifetime.
Views: 3020
Added: 4 years ago
Answer the Question