Answers for "in java how to use in pointer"

19

ARE THERE POINTER IN JAVA

Java does not have pointers.
Posted by: Guest on May-12-2020
1

java pointer

There are no pointers in Java. However, there is a Pointer class in JNA, which is very likely NOT what are you looking for.
The only way to get and use pointers is through using Unsafe. The mechanisms are implementation-dependent between JDKs and the Unsafe class may be available at sun.misc.Unsafe or at jdk.internal.misc.Unsafe.
Posted by: Guest on March-07-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language