C++ supports pointers whereas Java does not. But when many programmers questioned how you can work without pointers, the promoters began saying \"Restricted pointers.” So we
The Java language specification has this to say about the matter:
Java Language Spec §4.3.1
The reference values (often just references) are pointers to these objects, and a special null reference, which refers to no object.
For those who fear delving into documentation, the presence of e.g. Java’s NullPointerException should be a strong indication that Java does have pointers.
In short, the question is meaningless because it is based on a totally incorrect assumption that, quoting the OP, “Java does not pointers” – as proven above, that is technically bullshit.
See also James Kanze’s answer.
This answer can best be viewed as just supplying the necessary references to James’ answer.
Cheers & hth.