How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is vector string in c++?

0 Answers  


When is the last time you coded in C/C++? What is the most lines of original C/C++ code you have personally written in one project? How confident are you in your ability to write C or C++ without a reference?

1 Answers   Microsoft,


What character terminates all character array strings a) b) . c) END

0 Answers  


Explain the different access specifiers for the class member in c++.

0 Answers  


What is the full name of logo?

0 Answers  






When must you use a pointer rather than a reference?

0 Answers  


How can I disable the "echo" feature?

0 Answers  


What return value must conversion operators have in their declaration?

0 Answers  


How much is c++ certification?

0 Answers  


How would you find out if a linked-list is a cycle or not?

0 Answers  


How do we implement inheritance in c++?

0 Answers  


Explain calling an object's member function(declared virtual)from its constructor?

1 Answers  


Categories