what is Encapsulation?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / betty
Encapsulation is information hiding. By using the access
modifier (like private, public, internal, protected), you
are practicing encapsulation.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / penchal das
Encapsulation is the process of wrapping up of data into a
single unit called as "class",or hiding complexity.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / mithilesh kumar
Encapsulation literally means "to inclose in or as if in a
capsul.
"Encapsulation is defined as the process of
enclosing one or more items within a physical or logical
package .It involves preventing to nonessential details."
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nilesh
encapsulation is a process of binding or wrapping the data
and the function into a single
unit (eg. Class).
In simple-This keeps the data safe from outside interface
and misuse.
| Is This Answer Correct ? | 1 Yes | 0 No |
Why do we use readonly in c#?
What are anonymous methods ? why these methods are used and in what condition these methods are useful ?
What are the fundamental principles of oo programming?
Why do we need static in c#?
What is the difference between hashtable and dictionary in c#?
What are the features of c#?
What?s the difference between the System.Array.CopyTo() and System.Array.Clone()?
What is difference between sleep () and wait ()?
What is a template class?
Can interface inherit class in c#?
What is virtual class in C#?
What is the difference between delegates and events in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)