What do you mean by data encapsulation?

Author Topic: What do you mean by data encapsulation?  (Read 8421 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: 278
  • Karma: 1
  • Gender: Female
  • Newbie, who wants to explore new things ♥
    • Hosting and Domaining Forum
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 3
  • Posts: 797
  • 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)
  • Sr. Member
  • ****
  • Thank You 2
  • Posts: 428
  • 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 3
  • Posts: 797
  • 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
1 Replies
5132 Views
Last post 11-17-2021, 23:29:46
by AnkitTechy
2 Replies
2716 Views
Last post 01-11-2017, 22:55:50
by damponting44
4 Replies
3547 Views
Last post 02-10-2017, 03:02:28
by amitkedia
1 Replies
6129 Views
Last post 09-24-2017, 23:41:38
by damponting44
1 Replies
7396 Views
Last post 09-02-2019, 02:09:11
by amayajace