Why pointers concept is so unnecessary in JAVA | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why pointers concept is so unnecessary in JAVA

pointers in java

9th Apr 2019, 9:52 AM
Govindaraju C
Govindaraju C - avatar
2 Answers
+ 5
Maybe because Objects are stored in the heap and passed by reference into methods.
11th Apr 2019, 2:53 AM
Sonic
Sonic - avatar
+ 1
I think that because every variable object is treated as a "pointer"
9th Apr 2019, 10:40 AM
Nahuel Ourthe
Nahuel Ourthe - avatar