+ 2
Would java support pointers?
I am totally confused about it. please guys help me and sort out my confusion.
4 Antworten
+ 7
zeeshan
Internally java used pointer..
but java does not give permission to us to used pointer.
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.
0
pranit patil not supporting pointers does not make java powerful than cpp.
- 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/