How can you create a class data member?
Answers
Answered by
1
To access, use and initialize the private data member you need to create getter and setter functions, to get and set the value of the data member. The setter function will set the value passed as argument to the private data member, and the getter function will return the value of the private data member to be used
please give my ans in brain mark list
Similar questions