Creating a reference in Java is same as the concept of pointer is exactly same, then why it is said that Java does not support pointers?
Asked
Active
Viewed 173 times
-6
-
1surely u could google this – Ramanlfc Sep 28 '17 at 10:56
-
1PS: Found that duplicate by putting your exact question title into Google. Something you could've done yourself. – Ivar Sep 28 '17 at 10:58
1 Answers
-1
In C you can manipulate pointers to get somewhere else than the pointer points to. In Java references are atomic and only makes sense to get to an object in memory.

Thorbjørn Ravn Andersen
- 73,784
- 33
- 194
- 347