+ 2

Why their is no pointers concept in jave

if I want to point any address to any variable what to do..?

8th Aug 2017, 7:33 PM
Achyuth Kumar
Achyuth Kumar - avatar
1 Odpowiedź
+ 7
All objects in Java are references, so you could use them like pointers. But you should remember that there is no pointer in Java (or at least not directly usable by the programmer). If you print an object, you'll see his reference with some others informations.
8th Aug 2017, 8:04 PM
Hepson
Hepson - avatar