Java access controls
About this task
The Java™ access modifiers protected and private are
not enforced when you use the Java Native
Interface. Therefore a COBOL program could invoke a protected or private Java method that is not invocable
from a Java client. This usage
is not recommended.