Do you actually understand what pointers are ?
That it is just an address to the memory space where the object is stored.
So if you work with pointers, and you pass the pointer to a function as a parameter, you only pass the address and not the complete object. This is much faster, because you don't have to copy the complete object, you just can access the values of the object through the address.
Java also uses pointers, you just don't have to worry about them yourselves. (Which in some cases is pretty annoying if u don't want to use pointers.)
Edit
int nvar=2;
int* pvar=&nvar;
here you can see that if I take a reference of the integer "nvar", I can put it in the pointer to integer "pvar". So that's the connection between pointers and references ( in C++, in this case )