+ 2
Has java pointers?
2 ответов
+ 4
Java does use pointers internally, but keeps it hidden.
Object o1, o2;
o2 = new Object();
o1 = o2;
both o1 and o2 point to the same class data. If you change either, both see it.
+ 1
i think java uses pointers internally.