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
Describe public access specifiers?
What is the use of class in c++?
What is flag in computer?
What is the difference between a reference and a pointer?
Does there exist any other function which can be used to convert an integer or a float to a string?
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
Who discovered c++?
Write is a binary search tree? Write an algo and tell complexity?
What is the use of data hiding?
Explain rethrowing exceptions with an example?
Why is c++ awesome?
Write a program to find the Fibonacci series recursively.
Why c++ is called oop?
Specify some guidelines that should be followed while overloading operators?
What is srand c++?