Creating an array of objects in Java
I am new to Java and for the time created an array of objects in Java. I have a class A for example – A[] arr = new A[4]; But this is only creating pointers (references) to A and not 4 objects. Is this correct? I see that when I try to access functions/variables in … Read more