Christopher Smith wrote:
Java uses references for all of its objects, and this is how Darren is equating them to being like C. There are differences between C's pointers and the stuff in Java (and Java has some more sophisticated references that interact with the garbage collector), but the key concept of reference is intact.
Another important difference is that a C pointer is an actual memory location. You can add 10 to it and look at whatever is 10 bytes ahead in memory. Is a Java reference an actual memory location? Can you find the size of a list of Java data structures, add something to the reference, and look ahead in memory? I'm pretty sure you can't.
-- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
