Answer Posted / hrpynux@gmail.com
Access specifiers define how the members (attributes and methods) of a class can be accessed. ... 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
How do you compile the source code with your compiler?
How do you traverse a btree in backward in-order?
What is the full form of stl in c++?
What is the most powerful coding language?
What are all predefined data types in c++?
What is while loops?
What is the use of ::(scope resolution operator)?
What are pointers used for c++?
Why do we use templates?
What flag means?
Why do we use iterators?
What is null pointer and void pointer?
Is c the same as c++?
What are arrays c++?
What is rvalue?