Information (Data) Hiding








Data hiding
means hiding the data from parts of the program that dont need to access it .
Insulation of data from direct access by the program is called data hiding . The functional details of an object can be controlled by access specifiers .

Significance :

1. Data hiding helps to achieve encapsulation .
2. Data hiding protects intentioned programmers from honest mistakes .
3. Data hiding puts data in a class and makes it private .
4. It makes hidden data of one class from the other class .
Top
Clicky Web Analytics