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 |
What is the Difference between directcast and ctype?
Why do we need a finally block in try catch block while handling exceptions
What is the difference between constants and read-only?
What is desktop example?
Can an array be null c#?
What is a private constructor? where will you use it?
How many aware interfaces are there?
Difference between imperative and interrogative code?
How do you convert byte array to hexadecimal string, and vice versa?
What is literal control
What do you understand by an Implicit Variable?
Suppose you have already existing application with Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. With this example how can you approach migrating this application to .NET?