Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 12
It's one of the best features of object oriented programming. it's like restricting access of data members to a the entire program so that the hidden data can only be accessed by the class member functions.
20th Sep 2019, 12:07 PM
Manoj
Manoj - avatar
+ 5
 data hiding is a programming concept which protects the data from direct modification by other parts of the program. The feature of information hiding is applied using Class in most of the programming languages.
19th Sep 2019, 3:08 PM
KfirWe
KfirWe - avatar
+ 5
Data hiding is a software development technique specifically used in object-oriented programming (OOP) to hide internal object details (data members). Data hiding ensures exclusive data access to class members and protects object integrity by preventing unintended or intended changes.
20th Sep 2019, 3:35 AM
Deshani Malawana.
Deshani Malawana. - avatar
+ 5
Polymorphism uses data hiding when a sub class has the same field name as its superclass, if you create a object of sub class that's referenced by its parent class then the field in parent in used, if you create an object of sub class and is referenced by that sub class then the field in subclass is used and parent class field is hidden.
21st Sep 2019, 11:14 AM
D_Stark
D_Stark - avatar
+ 4
It is done by the use of the class and the class specifiers -private and public.Where the private is used to hide the data from other classes and functions
19th Sep 2019, 10:21 PM
Mark Owusu Ayim
Mark Owusu Ayim - avatar
+ 3
Same as abstraction,hiding relevant data from the user
19th Sep 2019, 10:18 PM
Mark Owusu Ayim
Mark Owusu Ayim - avatar
+ 3
its done by concept of encapsulation
20th Sep 2019, 7:21 PM
Michael Mamo
Michael Mamo - avatar
+ 2
Basically it's when you got your things well encapsulated
20th Sep 2019, 9:30 PM
"3"
"3" - avatar
+ 2
Making fields of a class private and only accessible via public getter/setter methods.
21st Sep 2019, 6:33 AM
Sonic
Sonic - avatar
+ 1
I don't know about you but I've seen Data has had some shifty eyes lately. I know theyre hiding something...
20th Sep 2019, 11:50 PM
Brennan
Brennan - avatar
+ 1
Data hinding is achieved by encapsulation.it's like restricting access of data members to a the entire program so that the hidden data can only be accessed by the class member functions.
23rd Sep 2019, 4:14 AM
Shaili Shah
Shaili Shah - avatar
+ 1
Data hiding is a software technique which guides the unprocessed information indirectly modified by other components of the application .
24th Nov 2019, 7:29 AM
Bright Agyeman
Bright Agyeman - avatar
+ 1
Data hiding is a software technique which guides the unprocessed information indirectly modified by other components of the application .
24th Nov 2019, 7:29 AM
Bright Agyeman
Bright Agyeman - avatar