Java   View all facts   Glossary   Help
mechanism > abstraction mechanism > encapsulation
Next abstraction mechanismmodularity    Upabstraction mechanism

encapsulation
subjectfact 
encapsulationallows changes to code to be more easily made since one can be confident that 'outsiders' are not relying on too many detailssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
has definition Creating a module to contain some algorithm or data structure, thus hiding its details behind the module's interfacesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
has purpose information hidingadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:39.0
has purpose modularityadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:39.0
has purpose to allow users to view an object as a black box that provides services, because objects encapsulate data and implementation.added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:39.0
helps to achieve information hidingsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
is a subtopic of Object Oriented Programming Concepts2001-10-19 11:36:39.0
is a kind of abstraction mechanismadded by: JT, 2001-10-19 11:36:39.0
separates the interface from the implementation of methodsadded by: Marvin, 2001-10-19 11:36:40.0