Answer Posted / vishal singh
Encapsulation is a process of binding or wrapping the data
and the codes that operates on the data into a single
entity (eg. Class).
This keeps the data safe from outside interface and misuse.
One way to think about encapsulation is as a protective
wrapper that prevents code and data from being arbitrarily
accessed by other code defined outside the wrapper.
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
What is sqlcommandbuilder c#?
Explain the term inheritance in C#.
what are pointer types in c#
Explain the ways to deploy an assembly?
Why main is static in c#?
What is predicate c#?
What is the purpose of ienumerable in c#?
What is view model in c#?
Can constructor be protected?
What is enum in c#?
What are c# collections?
How to transpose multi-dimensional array?
Explain polymorphism in c# with a simple example?
Distinguish between system.string and system.text.stringbuilder classes?
What is var c#?