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 are smart pointer? Whats its use?

1 Answers   CTS,


Tell me an example where stacks are useful?

0 Answers  


Can a class be static in c++?

0 Answers  


What is the output of the following 3D Array int arr[3][2][2]={1,2,3,4,5,6,7,8,9,10,11,12}; what is the output for arr[2][1][0]?

6 Answers   HCL, Integra, IPMC, ORG,


Define a nested class.

0 Answers  






What is stl containers in c++?

0 Answers  


What is dynamic and static typing?

0 Answers  


How to implement flags?

2 Answers   Symphony,


What do you mean by internal linking and external linking in c++?

1 Answers  


How to access a variable of the structure?

0 Answers  


What gives the current position of the put pointer?

0 Answers  


What is pointer to array in c++?

0 Answers  


Categories