Explain what data encapsulation is in c++?



Explain what data encapsulation is in c++?..

Answer / Mamta Pal

Data encapsulation in C++ refers to the bundling of data and functions that operate on the data into a single unit, which is called an object or class. This enhances data security by hiding the internal details and providing only public interfaces for interacting with the object.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Explain explicit container.

1 Answers  


What jobs can you get with a c++ certification?

1 Answers  


What are the uses of typedef in a program?

1 Answers  


Is std :: string immutable?

1 Answers  


Is ca high or low level language?

1 Answers  


What are enumerations?

1 Answers  


Is swift faster than c++?

1 Answers  


Define pre-condition and post-condition to a member function in c++?

1 Answers  


What do you mean by static variables?

1 Answers  


How does atoi function work?

1 Answers  


How does work in c++?

1 Answers  


How do you add an element to a set in c++?

1 Answers  


Categories