We no that their no support for Pointer in Java as in C and C++. So how can we print the exact location of a varaiable in java?
[QUOTE]in C++ which will print the memory address of the someVar. then how we can do it in Java?[/QUOTE] Why are you obsessed with printing memory addresses, when you can accomplish your linked list with "references" in Java. <EDIT> I willl just put a simple example here of how a … Read More