What is encapsulation in c++?
Answer / nashiinformaticssolutions
An object-oriented programming concept called encapsulation unifies functions and data into a single entity. This is a crucial step in the data hiding process that shields data from outside intervention. Classes and access modifiers are used in the implementation of encapsulation.
| Is This Answer Correct ? | 0 Yes | 0 No |
What new()is different from malloc()?
Explain one-definition rule (odr).
How can I improve my c++ skills?
Why cstdlib is used in c++?
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
What are the differences between new and malloc?
Can constructor be private in c++?
What is the c++ programming language used for?
Copy Linked List using recursive function?
What is the benefit of encapsulation?
Give 2 examples of a code optimization?
Explain the pure virtual functions?