SE450: Encapsulation: Encapsulation in Java [16/47] |
Java has four levels of encapsulation:
top-levelscopes.
There is actually a bit more. For example,
outside of the source language, one can seal
jar
files so that packages are closed.