Interviews8 answers
What is data hiding and Encapsulation?
8 Answers
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 TripathiPosted Mar 29, 2017, 12:31 AM EDT
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 GuptaPosted Feb 3, 2016, 10:55 PM EST
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...
Pankaj Kumar ChoudharyPosted Mar 22, 2015, 5:12 PM EDT
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 PrasadPosted May 24, 2014, 3:42 AM EDT
http://programmers.stackexchange.com/questions/173547/what-is-the-difference-between-data-hiding-and-encapsulation
Munesh SharmaPosted Apr 12, 2014, 2:31 AM EDT
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 pPosted Dec 2, 2012, 12:49 AM EST
Simplest example for a developer to explain is think how you define a class with comparison to c++.
Sandeep SachanPosted Oct 11, 2012, 3:40 AM EDT
data hiding means hiding the internal details of an object and encapsulation means wrapping of data and code into single unit
Vithal WadjePosted Oct 4, 2012, 4:30 AM EDT





