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 a map in c++?
What is the difference between new() and malloc()?
Define a conversion constructor?
Why do we use vector in c++?
What is a flag in c++?
What are the types of pointer?
What is a wchar_t in c++?
What do you mean by funtion prototype?
What is a tree in c++?
Is map thread safe c++?
How does c++ structure differ from c++ class?
What is a singleton class c++?
What are shallow and deep copy?
Write a program to add three numbers in C++ utilizing classes.
How many keywords are used in c++?