What do you mean by data encapsulation?

Author Topic: What do you mean by data encapsulation?  (Read 5230 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)
  • Hero Member
  • *****
  • Thank You 1
  • Posts: 595
  • 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.

Online saravanan28

  • Trade Count: (0)
  • Sr. Member
  • ****
  • Thank You 2
  • Posts: 302
  • 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.

Offline Lishmalinyjames

  • Trade Count: (0)
  • Hero Member
  • *****
  • Thank You 1
  • Posts: 595
  • Karma: 0
    • Oneplus Service Center in Chennai
Re: What do you mean by data encapsulation?
« Reply #4 on: 05-29-2021, 05:15:46 »
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.


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2208 Views
Last post 05-09-2012, 00:01:23
by maodwasoft
2 Replies
2540 Views
Last post 01-11-2017, 22:55:50
by damponting44
4 Replies
3330 Views
Last post 02-10-2017, 03:02:28
by amitkedia
1 Replies
5773 Views
Last post 09-24-2017, 23:41:38
by damponting44
1 Replies
7217 Views
Last post 09-02-2019, 02:09:11
by amayajace