Super Web Mart - Discount Coupons & Deals - Discount Promos, Coupon Codes, Discount deals and web site reviews
 

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

0 Members and 1 Guest are viewing this topic.

Offline officalchinmay

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
    • Aire Bra
What do you mean by data encapsulation?
« on: March 27, 2017, 04:55:31 AM »
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.

Webmaster Forum

What do you mean by data encapsulation?
« on: March 27, 2017, 04:55:31 AM »

Offline JustinC

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: What do you mean by data encapsulation?
« Reply #1 on: August 14, 2020, 03:33:15 AM »
Data Encapsulation is an Object Oriented Programming concept that bind a group of related properties, functions, and other members are treated as a single unit.
Class is the best example of Data Encapsulation.
It sometimes referred to as data hiding that prevents the user to access the implementation details.

Webmaster Forum

Re: What do you mean by data encapsulation?
« Reply #1 on: August 14, 2020, 03:33:15 AM »