Apuntes
1_Chp. 3 Vocabulary
Contenido del apunte (1)
Página 1
Chapter 3 Vocabulary
Abstract data type - A class. A data type that can store data and methods
ArithmeticException exception - An exception thrown when division by 0 occurs
Assignment statement - A statement that gives the variable or constant on the left of an assignment operator the value of the expression on the right side of the assignment operator.
Case sensitive - An uppercase letter is different from the same letter in lowercase
Class - see Abstract Data Type
Concatenate - To join two or more strings to form one larger string
Constant - A name for a memory location that stores a value than cannot be changed from its initial assignment
Data type - The kind of information a variable stores
Declaration - A statement that creates a variable or a constant
Equal sign (=) - An assignment operator that indicates the variable or constant on the left is to receive the value of the expression on the right
Exception - see Run-time Error
Floating point - Values that are represented by the double data type. Values that contain numbers after the decimal point
Identifier - A name for a variable or constant. An identifier must begin with a letter and can include any number or letters, numbers, and special characters
Initialize - To assign a variable a value in a declaration statement
InputMismatchException exception - An exception thrown when user input is not as expected
Input stream - The sequence of characters received from an input device
Instantiation - To create a new object
Integer division - Division that truncates the decimal portion
Keyword - A word that has a special meaning to the Java compiler and therefore cannot be used as a variable or constant identifier
Literal - An actual value
Logic error - A error caused by a statement that is syntactically correct, but produces unexpected or undesired results. Also called a semantic error
Modulus division - Division that returns the remainder
Numeric expression - At least on operand and possibly one or more operators that evaluate to a single value
Object - A variable declared with a class
Operator precedence - The level assigned to an operator so that a specific order of operations is maintained
Primitive data type - A data type that can store only a single piece of data. Primitive data types are also called built-in data types
Prompt - A string that informs the user of the kind of data expected to be typed
Run-time error - An error affecting program execution Also called and exception.
Semantic error see Logic error
Syntax error - An error caused by a statement that violates the rules of Java
Truncate - Removing the decimal portion of a number when casting a double to an int.
Type casting - Converting a number from one type to a different type
Variable - A name for a memore location that stores a value.
boolean
char
double
final
import
in
int
java.lang
java.text
java.util
NumberFormat
Scanner
System.in
Información
- Descripción
- You may use your textbook (which I recommend) or the Internet to find the definitions.
- Creado por
- bhoward3321 · ene 2016
- Actualizado
- 19 feb 2016
- Visitas
- 4
- Historial
-
- Creado por Terri FLetcher · 27 ene 2016
- Copiado por bhoward3321 · 27 ene 2016
- Copiado por bhoward3321 · 27 ene 2016
- Valoración