What is data hiding in a program?


Data Hiding


Data hiding could be a key feature of object familiarized programming. It implies that data is hide inside a category so it can't be accessed erroneously by functions outside the category. The first mechanism for concealment knowledge is to place it in an exceedingly category and build it non-public. Private data or functions will solely be accessed from inside the category. Non-private data or functions square measure accessible from outside the category. Data hiding offer a mechanism to protect well intention-ed programmers from creating mistakes.

 

Post a Comment

0 Comments