The Java language does not have pointers in the same way as you have them in C or C++ - i.e., pointers that can point to any location in memory and that you can do pointer arithmetic with.
However, Java does have references, which are essentially the same as pointers , but with a few restrictions meant to make programming and debugging safer and easier. For example, a reference must always point to a valid object or null - it can't point to any arbitrary location in memory, and you can't do tricky arithmetic with it.
Note that Java has the NullPointerException - it should have been called NullReferenceException, but now it's far too late to change the name...
deepthi, welcome to JavaRanch! We're a friendly bunch here, but we do have one rule that we take seriously -- the JavaRanch Naming Policy
Basically we require display names to be two words: your first name, a space, then your last name. While we prefer you use your real name, we of corse cannot enforce it. However, obviously fictitious names are not allowed.