how to mimic pointers in c++ in java code example Example: ARE THERE POINTER IN JAVA Java does not have pointers.