Can I call new multiple times on static reference to a class?
<pre><code>class A {}

class B {
 static A someReference =null;

  void foo () {
  someReference = new A; // does calling this function many times create new objects, or all objects will point to one memory.
 }
}
</code></pre>

<p>isn't making a reference static mean that it will not be able to point to new memory location.?
Thank you.</p>
