While studying java with several books, none of them seem to make it clear when to use which term.
Right now I understand it as follows:
Variables are defined within a method, while fields are part of a class.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Edit:
You have the right idea.
After going back to the Java Documentation, I’ll use their terminology:
Variables refer to fields, local variables, and parameters.