+ 2
Why their is no pointers concept in jave
if I want to point any address to any variable what to do..?
1 Respuesta
+ 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.