Can we use pointers in Jaava code example
Example: pointers in java
Java doesn't support pointers explicitly.
But java uses pointer implicitly:-
Java uses pointers for manipulations of references
but these pointers are not available for outside use.
A pointer is only used as an address of a memory location.
The java variales of oject type store the reference of the oject.
Basically the programmer can't write the pointer program in java.