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 the task perform by clr?
Define c# i/o classes?
What is using keyword in C#?
What is int tryparse in c#?
What are the applications of c#?
How do I calculate relative time?
What is a type c#?
What is an escape sequence?
What is the default boolean value in c#?
What is inline function in c#?
What is jagged array?
What is c# and why it is used for?
What is unmannaged code and will CLR handle this kind of code or not .
Can we inherit sealed class in c#?
What is difference between dictionary and hashtable in c#?