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

encapsulation comparison table
Subject have purpose separate allow is a kind of helps has definition
abstraction mechanism   mechanism  
encapsulationto allow users to view an object as a black box that provides services, because objects encapsulate data and implementation.the interface from the implementation of methodschanges to code to be more easily made since one can be confident that 'outsiders' are not relying on too many detailsabstraction mechanismto achieve information hidingCreating a module to contain some algorithm or data structure, thus hiding its details behind the module's interface

Next abstraction mechanismmodularity    Upabstraction mechanism