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 are callback methods in c#?
What is a ienumerator?
What is the role of the datareader class in ado.net connections?
How do you convert byte array to hexadecimal string, and vice versa?
What is a .exe extension files? How is it similar to .dll extension files?
What is multidimensional array in c#?
Which are the loop types available in c#?
What is the difference between protected and internal in c#?
if you do have a stack overflow profile.what is your ranking?
What are the value types in c#?
How to add controls dynamically to the form using c#.net.
Are cao stateful in nature?
What is expression tree with example?
What is the meaning of extention?
What is object array in c#?