Computer Science - Object Oriented Programming Using C++ - Discussion

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

[A]. static
[B]. unary
[C]. dynamic
[D]. volatile

Answer: Option A

Explanation:

No answer description available for this question.

Purnima said: (Oct 27, 2017)  
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:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.