What is Data Hiding?

Data hiding is linked to encapsulation; however data hiding is not encapsulation as it is sometimes described in this way. Data hiding is simply the means to remove direct access to an object’s information, by providing operations that perform actions on the data. This way any changes to the value of the data must come …