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 fields in c#?
What are collection classes?
How does yield return work c#?
Is c# different than c++?
What's the difference between a static method and a non static method c#?
what is a constructor? What is a destructor?
Explain the different types of delegates used in c#.
Explain About disco and uddi
What does the keyword “virtual†declare for a method or property?
What is the symbol used for in c#?
How can you access a private method of a class?
Explain circular reference in c#?
Explain the use of SN.exe
Why do we use polymorphism in c#?
What is the function of the not null constraint?