What are access specifiers in C++?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• Private: Members are accessible only within the class.
• Protected: Accessible within the class and derived classes.
• Public: Accessible from outside the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• Private: Members are accessible only within the class.
• Protected: Accessible within the class and derived classes.
• Public: Accessible from outside the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
• Private: Members are accessible only within the class.
• Protected: Accessible within the class and derived classes.
• Public: Accessible from outside the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is c++ a pure oop language?
What is c++ w3school?
What is private, public and protected inheritance?
What is do..while loops structure?
Explain 'this' pointer and what would happen if a pointer is deleted twice?
What is the use of "new" operator?
What is dangling pointers?and what is memory leak?
What is a dangling pointer?
Briefly describe a B+ tree. What is bulk loading in it?
Is it possible for a member function to use delete this?
How long it will take to learn c++?
Does c++ have finally?