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

total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.

0 Answers  


How the endl and setw manipulator works?

0 Answers  


Can we make copy constructor private in c++?

0 Answers  


What does asterisk mean in c++?

0 Answers  


Is std :: string immutable?

0 Answers  


What is c++ runtime?

0 Answers  


What is std::move?

1 Answers  


How size of a class can be calulated?

2 Answers  


Explain the difference between static and dynamic binding of functions?

0 Answers  


What is the stack?

5 Answers   IBM, ICICI,


What are separators in c++?

0 Answers  


char *ch = "abcde"; char c[4]; how to copy 'ch' to 'c'?

4 Answers   Thomson Reuters,


Categories