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 is object in c++ wikipedia?
Why is "using namespace std;" considered bad practice?
Define anonymous class.
What is vector pair in c++?
What is the use of structure in c++?
What are the four partitions in which c++ compiler divides the ram?
What is prototype for that c string function?
Explain virtual destructor?
What are the new features that iso/ansi c++ has added to original c++ specifications?
Can you please explain the difference between using macro and inline functions?
Write a Program for find and replace a character in a string.
Difference between inline functions and macros?
What is the full form of india?
Explain the benefits of proper inheritance.
What are c++ tokens?