In Java, where does an object reference point to:
- an actual memory location
- a reference in a heap management process, which in turn points to the actual memory location
well a java reference variable holds just a value. This value is the means of reaching the object being refered by the variable. The object lies in memory. So immediate guess is that the object var holds the memory address of the object's residence in memory.
- SystemAdmin 110000D4XK