What are the three types of access specifiers in C++?
Answer Posted / nashiinformaticssolutions
1. Public: Every student in the class is reachable from anywhere within the application.
2. Private: Only member functions within the class have access to class members.
3. Protected: Any subclass of the class or the member functions within the class can access class members.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?
How does java differ from c and c++?
Why is c++ called oops?
What is basic if statement syntax?
What are c++ tokens?
What is the best c++ compiler for windows 10?
What is a wchar_t in c++?
What is iostream in c++ used for?
What are the uses of c++ in the real world?
What is the importance of mutable keyword?
what is data abstraction in C++?
What is the main purpose of overloading operators?
what is Member Functions in Classes?
What is difference between class and structure in c++?
What are the various access specifiers in c++?