What exactly is a reference in Java?

What exactly is a reference in Java? Is it a memory address? Is a Java reference the equivalent of a dereferenced C++ pointer?

In other words, given the following:

Object o1 = new Object();
Object …

Desktop application in Java

I am new to Java and want to create a Desktop application in Java.
This application Reads and Writes different files.

Would someone please recomend me, what do i need for that and should I purchase a …

Accessing the Java call stack

I would like to know if it’s possible to access the call stack from within a method to see which method in which package called the one we are in now?

Or perhaps there is another way of doing this?