References to Objects in Java
Now, this is not an in depth explanation of References, but is a good introductory/overview of Java References. In C/C++, you had pointers. You’d create an object and point to its location in memory, and it was great when you had limitations and different segments of memory to work with. However, you had to keep…