I'm a bit confused about identifiers. In my textbook it says, "We use identifiers to name variables (and many other things) in Java."
I'm not really sure what this means. Is it like assigning a variable...to a variable? What?
So far, I'm getting this impression:
int a, b, c; a = 2; b = 99; c = a + b;
Is c
an identifier? When it says, "Using identifiers to name variables," are identifiers like int
, double
, boolean
, things used to categorize variables? Please provide some examples.