what is Encapsulation?

Answers were Sorted based on User's Feedback



what is Encapsulation?..

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

what is Encapsulation?..

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

what is Encapsulation?..

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

what is Encapsulation?..

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

what is Encapsulation?..

Answer / faisal

Encapsulation is the process about DATA hiding.

Is This Answer Correct ?    1 Yes 0 No

what is Encapsulation?..

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 Encapsulation?..

Answer / kokila

hide the data

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is dataset and dataadapter in c#?

0 Answers  


What do you mean by string objects are immutable?

0 Answers  


What is difference between arraylist and list in c#?

0 Answers  


What does typeof return c#?

0 Answers  


What are the basic string operations? Explain.

0 Answers  






Is there an equivalent to the instanceof operator in visual j++?

0 Answers  


Is c# difficult to learn?

0 Answers  


Assembly Code. in Rejester AL. How do Contast Replece( or Change): Bit D3 With Bit D4 and Bit D2 With Bit D5 and Bit D1 With Bit D6 and Bit D0 With Bit D7 I am Not Know Very Well Write English.

0 Answers   IBM,


Where static variables are stored?

0 Answers  


Why do we use yield in c#?

0 Answers  


Why can?t you specify the accessibility modifier for methods inside the interface?

2 Answers  


What is out in c#?

0 Answers  


Categories