Computer Science - Object Oriented Programming Using C++ - Discussion
Discussion Forum : Object Oriented Programming Using C++ - Section 3 (Q.No. 6)
If you want only one memory location to be reserved for a class variable, no matter how many objects are instantiated, you should declare the variable as
Discussion:1 comments Page 1 of 1.
Purnima said: 5 years ago
Any variable that is declared as static is said to be static variables, static variables can be initiated with many objects.
Post your comments here: