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 array formula?
What is c sharp language?
Can you explain template pattern?
Which is faster dictionary or list?
Can a struct inherit from another struct or class in c#?
Explain the difference between and xml documentation tag?
What is var c#?
Is c# different than c++?
Define constructors
Define an array?
Illustrate race condition?
What are examples of desktop applications?
What is instantiating a class in c#?
What's the difference between the debug class and trace class? Documentation looks the same.
What does console readline do in c#?