+ 1
How can i manipulate pointers in java .
objects are created in java in place of pointers but is there another way out.
2 Antworten
+ 9
Java has what's called a 'garbage collector', this will automatically remove objects that no longer reference to anything. (these are called Orphans). The garbage collector would remove the memory use from the object for you.
+ 4
So use property instead ;)
(To do anything like pointers)