0
#include <iostream> #include <string> using namespace std; class myClass { public: void setName(string x) {
Explain the access modifiers with this example.
3 Respostas
0
https://www.tutorialspoint.com/cplusplus/cpp_class_access_modifiers.htm
you can see it with examples ☝️
0
Thank u for your answers