title: nested type cannot hide an enclosing type
body: <p>What does this error mean?</p>
  
  <blockquote>
    <p>The nested type HelloWorld cannot hide an enclosing type</p>
  </blockquote>
  
  <p>Where HelloWorld is the java file name. Here's the code if you need it: </p>
  
  <pre><code>import net.java.games.jogl.*;
  public class HelloWorld
  { // open HelloWorld
  
      public class HelloWorld
      { // open HelloWorld
  
          public static void main (String args[])
          { // open main
              try
              { // open try
                  System.loadLibrary("jogl");
                  System.out.println("Hello World! (The native libraries are installed.)");
              } // close try
              catch (Exception e) // all try's need a catch
              { } // even if the catch does nothing
          } // close main
  
      } // close HelloWorld
  
  );
  </code></pre>