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 meant by console programming?
How can you use abstract class and interface?
Explain how to add controls dynamically to the form using c#.net.
Is it possible to inherit multiple interfaces?
What is c# used for?
What is the difference between console application and windows application?
What is file extension of webservices?
What is the usage of transponders?
What is nullable types in c#?
What are extensions methods in c#?
Is there an equivalent to the instanceof operator in visual j++?
How to assign Null value to Var?
Are string objects mutable or immutable?
Can constructor be private c#?
What is ado net in c#?