Java Class Protection
<p>I suspect the answer is no, but I want to check. If I have this structure in a Java application:</p>

<pre><code>-package
    -ClassA
    -subpackage
        -ClassB
        -subsubpackage
            -ClassC
</code></pre>

<p>I want package.subpackage.ClassB to have access to package.subpackage.subsubpackage.ClassC, but I don't want package.ClassA to have access to package.subpackage.subsubpackage.ClassC. Is there any way to enforce this?</p>
