Ok, so what happens when you do this.
A a1=new A(); A a2=new A(); A a3=new A();
I upload two pictures on how I imagine it being like. Can you
The second picture is correct. Each of the three statements is creating a reference (A a1 =), and an actual object in memory (new A()). Throw out the first picture :)
A a1 =
new A()