title: How to create instance of static nested class which contains invoked constructor (in Java)
body: <p>I have given piece of code:</p>
  
  <pre><code>public class Outer {
      public static void main(String[] args) {
          //  type here
      }
      public static class Inner {
          Inner Inner = new Inner();
          public Inner() {
              System.out.println("Test");
          }
      }
  }
  </code></pre>
  
  <p>Is it possible to create instance of class <code>Inner</code> by editing main method only? If yes, how to do it?</p>
  
  <p>UPD: I'm sorry, I forgot to say that all the code except main method is read-only. I mean, the solution has to be written only within boundaries of main method.</p>
  
  <p>Thank you</p>