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 |
What are the storage qualifiers?
What is a constructor in c++ with example?
What is the difference between #import and #include in c++?
What is the use of "new" operator?
What is the difference between static link library and dynamic link library?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
What are c++ redistributables?
Explain the isa and hasa class relationships.
What is split a string in c++?
write a program that will produce the ff. output. "what fruit will you buy? 1)apple 2)orange 3)mango ENTER CHOICE (1,2 or 3)> HOW MANY WILL YOU BUY?> THAT WILL COST XX.XX
What is std namespace in c++?
What happens if an exception is throws from an object's constructor and from object's destructor?