describes values that cannot be changed during the execution of an application.
a value that is taken literally at each use. See also unnamed constant.
a number whose value is taken literally at each use.
a constant value that has no identifier associated with it. See also literal constant.
describes the type of data that can be stored in a variable, how much memory the item occupies, and what types of operations can be performed on the data.
a simple data type. Java’s primitive types are byte, short, int, long, float, double, char, and boolean.
data types that hold memory addresses where values are stored.
data types that hold memory addresses where values are stored.
a statement that reserves a named memory location.
a language in which all variables must be declared before they can be used.
a naming style in which an identifier begins with a lowercase letter and subsequent words within the identifier are capitalized. Contrast with Pascal casing.
the equal sign ( = ); any value to the right of the equal sign is assigned to the variable or constant on the left of the equal sign.
the act of making an assignment at the time of variable declaration.
the act of providing a value for a variable.
describes the order in which operands are used with operators.
an expression that can appear only on the left side of an assignment statement. Contrast with rvalue.
an expression that can appear only on the right side of an assignment statement. Contrast with lvalue.
a variable that has been declared but that has not been assigned a value.
the unknown value stored in an uninitialized variable.
a named memory location whose value cannot change during program execution.
Definition:
a named constant.
the keyword that precedes named constants, that describes superclass methods that cannot be overridden in a subclass, and that describes classes in which all methods are final.
a final variable that has not yet been assigned a value.
a value that does not have immediate, intuitive meaning or a number that cannot be explained without additional knowledge. Unnamed constants are magic numbers.
the part of a program in which a variable exists and can be accessed using its unqualified name.
the code between a pair of curly braces.
describes values that are added onto the end of another value.
a whole number without decimal places.
a data type used to declare variables and constants that store integers in the range of -2,147,483,648 to 2,147,483,647.
the data type that holds very small integers, from -128 to 127.
the data type that holds small integers, from -32,768 to 32,767.
a data type that holds very large integers from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.
a data type conversion in which some data is lost.
a data type conversion in which no data is lost.
a data type that can hold only one of two values—true or false.
an operator that compares two items; an expression that contains a relational operator has a Boolean value.
a relational operator.
describes a number that contains decimal positions.
a data type that can hold a floating-point value of up to six or seven significant digits of accuracy. Contrast with double.
a data type that can hold a floatingpoint value of up to 14 or 15 significant digits of accuracy. Contrast with float.
refers to the mathematical accuracy of a value.
a display format that more conveniently expresses large or small numeric values; a multidigit number is converted to a single-digit number (possibly with decimal places) and multiplied by 10 to a power.
a type of value that is stored in a double.
a type of value that is stored in a float.
a data type that holds any single character.
a sequence that begins with a backslash followed by a character; the pair frequently represents a nonprinting character.
a multi-line string literal that avoids the need for an escape sequence to display output on multiple lines.
usually the keyboard.
a unit of data; the Scanner class separates input into tokens.
a message that describes and requests user input.
a small area of memory where keystrokes are stored before they are retrieved into a program. Also called the type-ahead buffer.
a small area of memory where keystrokes are stored before they are retrieved into a program. Also called the keyboard buffer.
a GUI object that asks a question and provides a text field in which the user can enter a response.
classes that contain methods that can process primitive type values.
a window that can be created using the showConfirmDia1og() method in the JOptionPane class and that displays the options Yes, No, and Cancel.
operators that are used to perform common calculations.
a value used on either side of an operator.
operators that require two operands.
the operation in which two values are divided and either or both are floating-point values.
the operation in which one integer value is divided by another; the result contains no fractional part.
the percent sign (%); when it is used with two integers, the result is an integer with the value of the remainder after division takes place. Also called the modulus operator.
the percent sign (%); when it is used with two integers, the result is an integer with the value of the remainder after division takes place. Also called the remainder operator, or mod.
the rules for the order in which parts of a mathematical expression are evaluated.
the process of converting one data type to another.
a single data type to which all operands in an expression are converted.
the automatic transformation of one data type to another. Also called promotion.
the automatic transformation of one data type to another. Also called implicit conversion.
an action that forces a value of one data type to be used as a value of another type.
an operator that performs an explicit type conversion; created by placing the desired result type in parentheses before the expression to be converted.
the data type transformation caused by using a cast operator.
a more complete name for the cast operator that performs explicit conversions.
an operator that uses only one operand.