encapsulation : Java Glossary


Encapsulation means detecting common patterns in your code and writing code to handle that function once and putting it in an air-tight capsule so that other programs are unaware of how it works inside. The benefits are:

You can write encapsulated code in almost any language, even assembler. Some languages, though, like Java make it much easier.

When in doubt, encapsulate.
~ Roedy (born:1948-02-04 age:68)

This page is posted
on the web at:


Optional Replicator mirror
of mindprod.com
on local hard disk J:

Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number