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
What is purpose of new operator?
What are smart pointers?
What is abstract keyword in c++?
What is binary object model?
Describe private, protected and public?
How to declare a pointer to an array of integers?
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
What do you understand by a pure virtual member function?
Explain function overloading
Does std endl flush?
Explain rethrowing exceptions with an example?
Write a program in C++ for Fibonacci series
Why can templates only be implemented in the header file?
What causes a runtime error c++?
Explain the difference between overloading and overriding?