Level 2 Level 4
Level 3

Introduction to Variables


21 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
Instance Variable
Non-static field, field declared without the 'static' keyword; unique to each instance of a class
Class Variable
static field, field declared with the 'static' keyword
Local Variable
temporary variable only applicable to the method it is declared in
Parameter
field passed to a method for use in method's processing. (always Passed by value in Java)
Argument
value passed to a method
Statically typed
all variables must first be declared before they can be used. This involves stating the variable's type and name
data type
property that determines possible values of a variable
primitive type
type predefined by the language and is named by a reserved keyword
byte
8-bit signed two's complement integer (value of -128 to 127)
short
16-bit signed two's complement integer. It has a minimum value of -32,768 and a maximum value of 32,767 (inclusive)
int
32-bit signed two's complement integer. It has a minimum value of -2,147,483,648 and a maximum value of 2,147,483,647 (inclusive)
long
64-bit signed two's complement integer. It has a minimum value of -9,223,372,036,854,775,808 and a maximum value of 9,223,372,036,854,775,807 (inclusive)
float
single-precision 32-bit IEEE 754 floating point
double
double-precision 64-bit IEEE 754 floating point
boolean
variable with 2 values, true or false
char
single 16-bit Unicode character. It has a minimum value of '' (or 0) and a maximum value of '\uffff' (or 65,535 inclusive).
literal
source code representation of a fixed value; represented directly in your code without requiring computation
string
series of characters
array
container object that holds a fixed number of values of a single type
element
item in an array
index
numerical label of an element's position in an array