What do you mean by data encapsulation?

Author Topic: What do you mean by data encapsulation?  (Read 4824 times)

Offline beingchinmayTopic starter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Thank You 1
  • Posts: 73
  • Karma: 0
  • Gender: Male
  • I am Chinmay
    • Modular Kitchen Designer
What do you mean by data encapsulation?
« on: 01-18-2017, 00:59:48 »
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.


Offline LyzLauren

  • Trade Count: (0)
  • Sr. Member
  • ****
  • Thank You 23
  • Posts: 279
  • Karma: 1
  • Gender: Female
  • Newbie, who wants to explore new things ♥
    • http://www.betindo.com/
Re: What do you mean by data encapsulation?
« Reply #1 on: 02-26-2017, 23:34:42 »
Try reading this content, hoping it can help

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

Offline Lishmalinyjames

  • Trade Count: (0)
  • Sr. Member
  • ****
  • Thank You 1
  • Posts: 431
  • Karma: 0
    • Oneplus Service Center in Chennai
Re: What do you mean by data encapsulation?
« Reply #2 on: 01-26-2021, 01:37:20 »
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.

Offline saravanan28

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 176
  • Karma: 0
Re: What do you mean by data encapsulation?
« Reply #3 on: 04-23-2021, 05:40:19 »
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.

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2190 Views
Last post 05-09-2012, 00:01:23
by maodwasoft
2 Replies
2512 Views
Last post 01-11-2017, 22:55:50
by damponting44
4 Replies
3301 Views
Last post 02-10-2017, 03:02:28
by amitkedia
1 Replies
5716 Views
Last post 09-24-2017, 23:41:38
by damponting44
1 Replies
7187 Views
Last post 09-02-2019, 02:09:11
by amayajace