Question: Categorize each member below as if declared in a class definition. int wordCount; void document(int words); Document(const string& words); int wordCount() const; pick one for
Categorize each member below as if declared in a class definition.
int wordCount;
void document(int words);
Document(const string& words);
int wordCount() const;
pick one for each:
data member, constructor, mutator, accessor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
