Information hiding is the primary criteria of system modularization and should be concerned with hiding the critical decisions of OOP designing. i.e. information hiding concept restricts direct exposure of data. Data is accessed indirectly using safe mechanism, methods in case of programming object.
e.g. Taking bike as an example, we have no access to the piston directly, we can use 'start button' to run the piston.
Post a Comment