Study guide: Non-object oriented language basics, Part 2
Brush up on Java terms, learn tips and cautions, review homework assignments, and read Jeff's answers to student questions
By Jeff Friesen, JavaWorld.com, 01/05/01
INDEXHEAD: Glossary of terms
- addition binary infix operator
- An operator that adds its two operands together and returns the sum.
- assignment binary infix operator
- An operator that assigns its rightmost operand to its leftmost operand.
- binary operator
- An operator that takes two operands.
- bit-wise AND binary infix operator
- An operator that ANDs the corresponding bits of its two operands together and returns the result.
- bit-wise complement unary prefix operator
- An operator that flips the bits of its operand and returns the result.
- bit-wise exclusive OR binary infix operator
- An operator that exclusive ORs the corresponding bits of its two operands together and returns the result.
- bit-wise inclusive OR binary infix operator
- An operator that inclusive ORs the corresponding bits of its two operands together and returns the result.
- bit-wise shift left binary infix operator
- An operator that shifts the bits of its leftmost operand left according to the number of positions specified by its rightmost
operand and returns the result.
- bit-wise shift right with sign extension binary infix operator
- An operator that shifts its leftmost operand's bits right by the number of positions specified by its rightmost operand and
then returns the result.
- bit-wise shift right with zero extension binary infix operator
- An operator that shifts the leftmost operand's bits right by the number of positions specified by its rightmost operand and
returns the result.
- Boolean AND binary infix operator
- An operator that ANDs the Boolean values of its two operands together and returns the Boolean result.
- Boolean exclusive OR binary infix operator
- An operator that exclusive ORs the Boolean values of its two operands together and returns the Boolean result.
- Boolean inclusive OR binary infix operator
- An operator that inclusive ORs the Boolean values of its two operands together and returns the Boolean result.
- Boolean NOT unary prefix operator
- An operator that flips the Boolean value of its operand and returns the Boolean result.
- cast unary prefix operator
- An operator that converts the operand's data type to a specified data type.
- conditional ternary operator
- An operator that chooses one of two operands.
- division binary infix operator
- An operator that divides its leftmost operand by its rightmost operand and returns the quotient.
- expression
- A sequence of operators and operands -- constructed according to the Java language's syntax -- that evaluates to a specific
data type's single value.
- infix operator
- An operator that is situated between its operands.
- logical AND binary infix operator
- An operator that ANDs the Boolean values of its two operands together and returns the Boolean result.
- logical OR binary infix operator
- An operator that inclusive ORs the Boolean values of its two operands together and returns the Boolean result.
- modulus binary infix operator
- An operator that divides its leftmost operand by its rightmost operand and returns the remainder.
- multiplication binary infix operator
- An operator that multiplies its operands together and returns the product.
- negation unary prefix operator
- An operator that negates the value of its operand and then returns the result.
- operands
- Data items that serve as arguments to an operator.
- operator
- A combination of characters that identifies a data operation, such as addition.
- postdecrement unary prefix operator
- An operator that returns the value of its operand prior to subtracting 1 from it.
- postfix operator
- An operator that trails its operand.
- postincrement unary postfix operator
- An operator that returns the value of its operand prior to adding 1 to it.
- precedence
- An evaluation order in which certain operators evaluate their operands before other operators do.
- predecrement unary prefix operator
- An operator that subtracts 1 from its operand and then returns the result.
- prefix operator
- An operator that precedes its operand.
- preincrement unary prefix operator
- An operator that adds 1 to its operand and then returns the result.
- reference data type checking binary infix operator
- Determines whether an object is a class instance.
- relational equal to binary infix operator
- Returns true if its leftmost operand's numeric value is equal to its rightmost operand's numeric value; otherwise it returns
false.
- relational greater than binary infix operator
- Returns true if its leftmost operand's numeric value is greater than its rightmost operand's numeric value; it returns false
otherwise.
- relational greater than or equal to binary infix operator
- Returns true if the numeric value of its leftmost operand is greater than or equal to the numeric value of its rightmost operand;
otherwise it returns false.
- relational less than binary infix operator
- Returns true if the numeric value of its leftmost operand is less than the numeric value of its rightmost operand.
- relational less than or equal to binary infix operator
- Returns true if its leftmost operand's numeric value is less than or equal to its rightmost operand's numeric value; otherwise
it returns false.
- relational not equal to binary infix operator
- Returns true if its leftmost operand's numeric value is not equal to its rightmost operand's numeric value; it returns false
otherwise.
- string concatenation binary infix operator
- Concatenates its rightmost operand to its leftmost operand.
- subtraction binary infix operator
- An operator that subtracts its rightmost operand from its leftmost operand and returns the difference.
- ternary operator
- An operator that takes three operands.
- unary operator
- An operator that takes one operand.
- unary plus unary prefix operator
- An operator that returns its operand.
INDEXHEAD: Tips and cautions