8
Reply

What is data hiding and Encapsulation?

Ankit Agarwal

Ankit Agarwal

Oct 01, 2012
14.1k
1

    hiding the internal details of an object is called datahiding or abstraction and encapsulation means is the process of binding the data members and functions into a single unit

    Bhabani Prasad
    May 24, 2014
    1

    Data Abstraction (data hiding) is a thinking process means that the developer should decide what information should show to outer world ,but the actual implementation of the Abstraction is nothing but the Encapsulation , which is achieved by using the access modifiers. you can say that the Encapsulation implements the Abstraction.

    Alok Tripathi
    March 29, 2017
    0

    Data Abstration refers to data hiding as it act of represting essential features without including the background details or explanation, on the other hand Encapsulation is the wrapping up of data and functions into a single unit called as class.

    Barkha Gupta
    February 04, 2016
    0

    data hiding means hide some important information of class from other class,method or object. abstraction is a mechanism which allow a class to make visible relevant information and hide unnecessary information. Encapsulation enable a programmer to implement a desired level of abstraction using access specifier...

    http://programmers.stackexchange.com/questions/173547/what-is-the-difference-between-data-hiding-and-encapsulation

    Munesh Sharma
    April 12, 2014
    0

    data hiding means hiding the internal details of an object and encapsulation means is the process of binding the data members and functions into a single unit.

    masthan p
    December 02, 2012
    0

    Simplest example for a developer to explain is think how you define a class with comparison to c++.

    Sandeep Sachan
    October 11, 2012
    0

    data hiding means hiding the internal details of an object and encapsulation means wrapping of data and code into single unit

    Vithal Wadje
    October 04, 2012
    0