+ 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 ?

21st Oct 2017, 3:35 AM
Aayush Bhansali
Aayush Bhansali - avatar
4 ответов
+ 6
java does'nt support pointers but it leads to illegal access of data
6th Nov 2017, 12:44 PM
Shwetha
Shwetha - avatar
+ 2
Pointer is not support in java or not used in java
19th Dec 2017, 6:45 AM
Ganesh pandurang apune
Ganesh pandurang apune - avatar
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
17th Dec 2017, 6:09 AM
Mahesh Choudary
Mahesh Choudary - avatar