Possible Duplicate:
Pointers in java
Why java is not using pointer though C# and other language using it explicitly?
As i think due to some safety reason it does’t allow user to access its memory allocations.
update: i want to know java is known as a very safe language, so lack of pointer does have any relevance with its robustness or safety.
Using pointers is considered unsafe and mistakes can even lead to system instability.
In C# we do not use pointers. You can do that using unsafe block, but you only do it for code that needs to be optimized for speed. I think in java it should be also possible, although I have never programmed in java, so someone should confirm/deny in a comment.