What are the c++ access specifiers?
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 |
Where can I run c++ program?
Which is the best c++ compiler?
What are the four main data types?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
Write a note about the virtual member function?
What is the difference between delegation and implemented-in-terms-of?
In C++ cout is: a) object b) class c) something else
11 Answers Infosys, Lehman Brothers,
What are c++ storage classes?
What happens if an exception is throws from an, object's constructor and object's destructor?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What are the types of STL containers?
What are stacks? Give an example where they are useful.