My book, my movies, my videos, my podcasts, my events ... the big collection of paul wheaton stuff!
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
public class IllustrateVariables
{
String anInstanceVariable;
static int aClassVariable;
public static void main(String[] args)
{
int aLocalVariable;
...
}
}
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
The "labels" are actually different names for the object and not variables at all, right?
Yes
Well... yes and noA label is a name for an object, but this just means that variables that refer to objects [i.e. what I call labels] are exactly that - VARIABLES.
Sorry, I don't know if this helped - but I tried my best![]()
Michelle
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Bring out your dead! Or a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|