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 "class access modifiers" in C#?
Can properties be static in c#?
Explain partial class in c#?
What are the 2 kinds of data type conversions in c#?
What are the return types in c#?
What are variables in c#?
Define method overloading in c#?
In C#, explain the difference between overloading and overriding.
Can you instantiate a struct without using a new operator in c#?
What is as keyword in c#?
Is it possible to nest cfml conditional tags?
Can mvc be used for desktop applications?
Who is a accessibility modifier “protected internal†available to ?
What do you mean by for each loop?
Are structs value types c#?