Is their any role of pointers in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is their any role of pointers in java

9th Feb 2017, 2:20 PM
saransh gupta
2 Answers
+ 7
In fact you handle pointers all the time but you don't see them 😊 Objects in Java are references to heap memory. You don't need to take care of them because Java has a garbage collector.
9th Feb 2017, 8:31 PM
Tashi N
Tashi N - avatar
+ 1
Null pointer exception :)
9th Feb 2017, 5:43 PM
seamiki
seamiki - avatar