title: Java heap and stack memory allocation
body: <pre><code>class Person{
            private String name;
            public Person(){
            }
  
            public Person(String name){
                this.name=name;
            }
  
            public static void main(String[] arg)
            {
                  Person per= new Person("Andy");
            }
      }
  </code></pre>
  
  <p><code>per</code> is a local variable, where will it be stored, on the heap or the stack? </p>