Does Java Support Pointers?
Pointers are not supported in java to make it more secure.
You can also go through this Java Tutorial to understand better.