A software module hides information (i.e. implementation details) by providing an interface, and not leak any unnecessary information.
When the implementation changes, the interface clients are using does not have to change.
Avoid putting private implementation details into a class’s interface.
Top comments (0)