Answer Posted / hrpynux@gmail.com
In C++, there are three access specifiers: public - members are accessible from outside the class. private - members cannot be accessed (or viewed) from outside the class. protected - members cannot be accessed from outside the class, however, they can be accessed in inherited classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are smart pointers?
What is endianness?
What is name hiding in c++?
what is a reference variable in C++?
What is the difference between structures and unions?
Why is "using namespace std;" considered bad practice?
What are the stages in the development cycle?
What are the steps in the development cycle?
Are vectors passed by reference c++?
Who invented turbo c++?
What is class syntax c++?
What are signs of manipulation?
What is a linked list in c++?
what does the following statement mean? int (*a)[4]
What is pointer to member?