0
int [] a = new int[3]; In this example, a holds the reference, or memory location, of an array of size 3. A holds the memory location of B. You aren't representing A as B, A is just a reference to B- A tells where in the computer's memory B is. In general, references point to the memory location of objects.
24th Nov 2017, 1:08 AM
burrito77
burrito77 - avatar