It sounds like your best bet is to find an intro to java book or an intro to java tutorial online. Unless you are willing to pay someone to tutor you, i doubt you'll have much luck finding someone on here who is willing to be your personal guide. That isn't meant to be rude, just the harsh truth.
Another reason for me posting this as an answer and not a comment, your asking extremely basic questions that are best suited by you following a tutorial (ex: how to read or get a variable that I created (here "whatever"). If you don't know how to read variables you've previously assigned, the scope of help you need is beyond that of a quick answer forum.
The best thing you can do is to start figuring out things on your own, to start...how to google. Here is a google search which would be a good place for you to begin.
beginners java tutorial - Google Search[
^]
Here is a promising example
Java tutorial: Learn Java Programming with examples[
^]
I also like wrox and apress books too, those would be a good place to look as well.
Java Books & eBooks | Apress[
^]
Java Category: Books, Ebooks, JDK, WebLogic, Spring Framework, Java Tools - Wrox[
^]
Now should you start digging into these tutorials and have questions, feel free to come back here with a clear explanation of your issue and any relevant code samples and I am sure you are likely to find some quality assistance.
Also to be clear, I am not volunteering to be your tutor...just merely attempting to steer you in the right direction.