information hiding

All > Technology > Programming > Java
  • The practice of ensuring that only as much information is revealed about the implementation of a class as is strictly required. Hiding unnecessary knowledge of implementation makes it less likely that other classes will rely on that knowledge for their own implementation. This tends to reduce the strength of coupling between classes. It also reduces that chance that a change of the underlying implementation will break another class. Ensuring that all fields of a class are defined as private, is one of the ways that we seek to promote information hiding.
    David J. Barnes - Cite This Source - This Definition
  • Browse Related Terms: coupling, factory pattern, pattern, singleton pattern

Browse Nearby Business Terms

IIOP
image map
immutable object
imperative programming
impersonation
implements
implements clause
implicit type conversion
Import
import statement
inconsistent state
increment operator
indirect recursion
infinite loop
infinite recursion
information hiding
Inheritance
inheritance hierarchy
initialization parameter
initializer
inner class
Instance
instance method
instance variable
instanceof
instantiation
instruction set
INT
integer
Interface