Coding & Programming > ASP Forum

What do you mean by data encapsulation?

(1/1)

beingchinmay:
Data encapsulation is a concept of binding data and code in single unit called object and hiding all the implementation details of a class from the user. It prevents unauthorized access of data and restricts the user to use the necessary data only.

LyzLauren:
Try reading this content, hoping it can help

http://www.cs.mun.ca/~donald/bsc/node13.html

Lishmalinyjames:
The data is de-encapsulated at the same layer at the receiver's end to the encapsulated layer at the sender's end. The added header and trailer information are removed from the data in this process.

saravanan28:
Data encapsulation, also known as data hiding, is the mechanism whereby the implementation details of a class are kept hidden from the user. ... The wrapping of private data in classes in object-oriented programming languages: see Encapsulation (object-oriented programming), information hiding, separation of concerns.

Lishmalinyjames:
Data encapsulation, also known as data hiding, is the mechanism whereby the implementation details of a class are kept hidden from the user. The user can only perform a restricted set of operations on the hidden members of the class by executing special functions commonly called methods.

Navigation

[0] Message Index

Go to full version