+ 2

Would java support pointers?

I am totally confused about it. please guys help me and sort out my confusion.

29th Jun 2018, 7:05 PM
zeeshan
zeeshan - avatar
4 Answers
+ 7
zeeshan Internally java used pointer.. but java does not give permission to us to used pointer.
29th Jun 2018, 7:18 PM
Arun Tomar
Arun Tomar - avatar
0
Pointers are used internally within the Java Virtual Machine but when it comes to coding level we do not have pointers rather we call it references. As per definition, pointer is a variable which holds the address of another variable of its same type. Hope it helps :) Regards.
30th Jun 2018, 5:29 AM
Tania Bandopadhyay
0
pranit patil not supporting pointers does not make java powerful than cpp.
7th Apr 2019, 6:00 PM
Sharofiddin
Sharofiddin - avatar
2
Java doesn't support pointers and that makes java a powerful language than c or c++, coming to your first question a pointer is a variable which holds the address of another variable. http://crbtech.in/Java-Training/key-points-that-makes-java-more-protected-that-other-languages/
30th Jun 2018, 5:15 AM
pranit patil
pranit patil - avatar