-
A data item is _____ when it cannot be changed during the execution of an application.
constant
-
A _____ is a value that is taken literally at each use.
literal constant
-
A _____ is named memory location that you can use to store a value.
variable
-
An item's _____ describes the type of data that can be stored there, how much memory the item occupies, and what types of operations can be performed on the data.
data type
-
A _____ is a number whoe value is taken literally at each use.
numeric constant
-
A _____ is a simple data type. These are composed of byte, short, int, long, float, double, char, and boolean.
primitive type
-
_____ are complex data types that are constructed from primitive types.
Reference types
-
A _____ is a statement that reserves a named memory location.
variable declaration
-
A _____ is one in which all variables must be declared before they can be used.
strongly typed language
-
_____ is a style in which an identifier begins with a lowercase letter and subsequent words within the identifier are capitalized.
Camel casing
-
The _____ is theequal sign (=); any value to the right of the equal sign is assigned to the variable on the left of the equal sign.
assignment operator
-
An _____ is an assignment made when you declare a variable.
initialization
-
An _____ is the act of providing a value for a variable.
assignment
-
_____ refers to the order in which operands are used with operators.
Associativity
-
An _____ is an expression that can appear on the left side of an assignment statement.
l-value
-
An _____ is an expression that can appear only on the right side of an assignment statement.
-
A _____ is the unknown value stored in an uninitialized variable.
garbage value
-
A _____ is a memory location whose declaration is preceded by the keyword final, and whose value cannot change during program execution.
named constant
-
The keyword _____ precedes named constants.
final
-
A _____ is a named constant.
symbolic constant
-
A _____ is a final variable that has not yet been assigned a value.
blank final
-
A _____ is a value that does not have immediate, intuitive meaning or a number that cannot be explained without additional knowledge. Unnamed constants are also considered examples of these.
Magic number
-
The data type _____ is used to store integers.
int
-
An _____ is a whole number without decimal places.
integer
-
The _____ data type holds very small integers, from -128 to 127.
byte
-
The _____ data type holds small integers, from -32,768 to 32767.
short
-
The _____ data type holds very large integers, from -9,223,372,036,854,755,808 to 9,223,372,036,854,755,807.
long
-
A value can be combined with, or _____ to, another value.
concatenated
-
An empty String created by typing a set of quotes with nothing between them is called a _____.
Null string
-
You use _____ to perform calculations with values in your applications.
arithmetic operators
-
An _____ is a value used in an arithmetic statement.
operand
-
_____ require two operands.
binary operators
-
_____ is the operation in which one integer value is divided by another; the result contains no fractional part.
Integer division
-
The _____ is 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.
remainder operator
-
The remainder operator is also called the _____, or sometimes just _____.
modulus operator, or mod
-
_____is the rules for the order in which parts of a mathematical expression are evaluated.
Operator precedence
-
A _____ can hold only one of two values--true or false.
Boolean
-
A _____ compares two items; an expression that contains a relational operator has a Boolean value.
relational operator
-
A _____ is another name for a relational operator.
comparison operator.
-
A _____ number contains decimal positions.
floating-point
-
A _____ data type can hold a floating-point value of up to six or seven significant digits of accuracy.
float
-
A _____ data type can hold a floating-point value of up to 14 or 15 significant digits of accuracy.
double
-
The term _____ refers to the mathematical accuracy of a value.
significant digits
-
_____ is a display format that more conveniently expresses large or small numeric values; a multidigit number is converted to a single-digit number and multiplied by 10 to a power.
Scientific notation
-
A _____ is stored in a double.
double-precision floating-point number
-
A _____ is stored in a float.
single-precision floating-point number
-
A _____ is a single data type to which all operands in an expression are converted.
unifying type
-
An _____ is the automatic transformation of one data type to another.
implicit conversion
-
_____ is an implicit conversion.
Promotion
-
_____ forces a value of one data type to be used as a value of another type.
Type casting
-
A _____ performs an explicit-type conversion; it is created by placing the desired result type in parentheses before the expression to be converted.
cast operator
-
An _____ is the data-type transformation caused using a cast operator
explicit conversion
-
The _____ is a more complex name for the cast operator that performs explicit conversions.
unary cast operator
-
A _____ uses only one operand.
unary
-
The _____ data type is used to hold any single character.
char
-
_____ is a built-in Java class that provides you with the means for storing and manipulating character strings.
String
-
An _____ begins with a backslash followed by a character, the pair represents a single character.
escape sequence
-
The _____ normally is the keyboard.
standard input device
-
A _____ is a unit of data; the Scanner class separates input into tokens.
token
-
A _____ is a message that requests and describes user input.
prompt
-
_____ means to repeat the user's entry as output so the user can visually confirm the entry's accuracy.
Echoing the inpu
-
The _____ is a small area of memory where keystrokes are stored before they are retrieved into a program.
keyboard buffer
-
The _____ is the keyboard buffer.
type-ahead buffer
-
To _____ an entry is to retrieve and discard it without using it.
consume
-
An _____ asks a question and provides a text field in which the user can enter a response.
input dialog box
-
You can create an input dialog box using the "_____".
showInputDialog()method
-
_____ contained in the java.lang package, include methods that can process primitive-type values.
Type-wrapper classes
-
To _____ means to break into component parts.
parse
-
A _____ displays the options Yes, No, and Cancel; you can create one using the showConfirmDialog()method in the JOptionPane class.
confirm dialog box
|
|