+ 5
How Do You Use Pointers in Java ?
I have recently learned C and in C the pointer variables store the address of the variables and can be passed to a function (Call by Reference). What is the alternative for it in Java ?
4 ответов
+ 6
java does'nt support pointers but it leads to illegal access of data
+ 2
Pointer is not support in java or not used in java
0
actually explicitly we don't use pointers in java projects
but in oop methodology while the creation of objects JVM uses pointers to store the object address to the reference