+ 7

Why does the java does not contain pointer, is it a flaw or java have replaced it in the name of reference.

Java reference vs Pointer

25th Feb 2017, 7:11 PM
Sathish Kumar
Sathish Kumar - avatar
1 ответ
+ 3
It's not a flaw. When an object is no longer referenced it will bei garbage collected, that's why no pointer is needed, also no object destructing.
26th Feb 2017, 7:36 PM
Thomas Zenglein
Thomas Zenglein - avatar