title: what will happen if Create same Object multiple times in main method and constructor as well
body: <pre><code>public class Assignment3{
  Assignment3()
      {
          Assignment3 obj = new Assignment3();
      }
      
      public static void main(String []args)
      {
          Assignment3 obj = new Assignment3();
          System.out.println(&quot;Hello&quot;);
      }
  }
  </code></pre>
  <p>It's showing This :Exception in thread &quot;main&quot; java.lang.StackOverflowError . What does it mean .</p>