+ 1

How can i manipulate pointers in java .

objects are created in java in place of pointers but is there another way out.

26th Apr 2017, 2:09 PM
Greninja
Greninja - avatar
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.
26th Apr 2017, 3:06 PM
Rrestoring faith
Rrestoring faith - avatar
+ 4
So use property instead ;) (To do anything like pointers)
26th Apr 2017, 2:16 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar