What is encapsulation in c++?
Answers were Sorted based on User's Feedback
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 |
Answer / Priyanka Joshi
"Encapsulation is the practice of keeping fields within a class private and providing public access functions to manipulate those fields. It hides the internal details and complexities of an object from outside interference, protecting data integrity."
| Is This Answer Correct ? | 0 Yes | 0 No |
Difference between class and structure.
What is the difference between a type-specific template friend class and a general template friend class?
What are proxy objects?
What is a catch statement?
Which is better turbo c++ or dev c++?
What are virtual functions in c++?
what is data Abstraction
If there are 1 to 100 Numbers in array of 101 elements. Which is the easy way to find repeated number?
What can I safely assume about the initial values of variables which are not explicitly initialized?
How do I start a c++ project?
What is singleton class in c++?
what are the iterator and generic algorithms.