yes it does.
and the JVM takes care of them !!
2006-11-05 18:21:07
·
answer #1
·
answered by srihari_reddy_s 6
·
0⤊
0⤋
He friend
according to your question I think that you know that java doesn't use pointer concept as in c and c++
internaly java uses the concept of pointer because pointer means pointer the memory address of any variable. but you can't access this facility.
2006-11-02 17:37:30
·
answer #2
·
answered by aadarsh_goswami 1
·
0⤊
0⤋
If you mean to say C like pointers then no there is no concept of C like pointers in Java, Objects are instantiated on heap and the variable contains the reference to that memory location. It is like dynamic memory allocation used in C++. But the difference is that in C++ programmer has to clean the memory himself where as in Java memory is cleaned by GC.
2006-11-02 17:20:38
·
answer #3
·
answered by Bull's Eye 2
·
0⤊
0⤋
huh?
I think what you mean is do objects point to memory locations, and the answer is yes. Objects do point to memory locations, primitive objects do not.
2006-11-02 16:48:24
·
answer #4
·
answered by Brady 3
·
0⤊
0⤋