A variable, on the other hand, is the actual
instantiation (the memory storage of data values being manipulated in the
program) of that data-type at runtime or simply the actual memory that
is allocated at runtime.
Â Â Â Â Â Â Â Â Â Â Â Int aPrimitiveInt = 24;
where, 24 is the variable,
or in this case, the actual contents stored in memory.
An identifier is the name and associated data-type
that identifies a variable in a Java source file or more simply, the name of
the variable that is in the source code for the program.
where, aPrimitiveInt is the
name and int is the data type
Disclaimer: This section is for information purposes only posted by the public. If you feel the information is incorrect, please send us an email to webmaster at computeruser dot com.