Chapter 14: Problem 19
Explain the programming steps necessary to make a class's member variable static.
Short Answer
Expert verified
Answer: To make a class's member variable static, first declare the class and define its member variables. Then, add the keyword "static" before the data type of the member variable you want to make static. This will make the member variable's value shared among all instances of the class, rather than being specific to each object.