I've got a method which does something to an array.
private boolean Process(String[] DestArray) {
// Do something to the array DestArray and return true if all goes well
}
Now, how can I tell my Java compiler that DestArray is just a pointer, and how can I retrieve the name object it is pointing to?
I want the "Process" method to do different things depending on the name (and the class it belongs to) of the object the pointer "DestArray" point to.
Where are Java pointers? How can I use them? How can I tell Java compiler I'm not passing a variabile but just a pointer? I'm a bit confused.