0

#include <iostream> #include <string> using namespace std; class myClass { public: void setName(string x) {

Explain the access modifiers with this example.

21st May 2020, 6:22 PM
Salini Selvam
Salini Selvam - avatar
3 Answers
21st May 2020, 7:43 PM
Shahghasi Adil
Shahghasi Adil - avatar
0
https://www.tutorialspoint.com/cplusplus/cpp_class_access_modifiers.htm you can see it with examples ☝
22nd May 2020, 4:21 AM
ê§àŒ’â˜ŹBad☏Boyâ˜ŹàŒ’ê§‚
ê§àŒ’â˜ŹBad☏Boyâ˜ŹàŒ’ê§‚ - avatar
0
Thank u for your answers
27th May 2020, 4:23 AM
Salini Selvam
Salini Selvam - avatar