GLOSSARY

Abstract array

An ordered sequence of items that can be efficiently accessed at random through an integer index.

Abstract class

A class that cannot be instantiated.

Abstract list

An ordered sequence of items that can be traversed sequentially and that allows for efficient insertion and removal of elements at any position.

Abstract method

A method with a name, parameter types, and return type but without an implementation.

Abstraction

The process of finding the essential feature set for a building block of a program such as a class.

Access specifier

A reserved word that indicates the accessibility of a feature, such as private or public.

Accessor method

A method that accesses an object but does not change it.

Actual parameter

The expression supplied for a formal parameter of a method by the caller.

ADT (Abstract Data Type)

A specification of the fundamental operations that characterize a data type, without supplying an implementation.

Aggregation

The has-a relationship between classes.

Algorithm

An unambiguous, executable, and terminating specification of a way to solve a problem.

Anonymous class

A class that does not have a name.

Anonymous object

An object that is not stored in a named variable.

API (Application Programming Interface)

A code library for building programs.

API Documentation

Information about each class in the Java library.

Applet

A graphical Java program that executes inside a web browser or applet viewer.

Argument

An actual parameter in a method call, or one of the values combined by an operator.

Array

A collection of values of the same type stored in contiguous memory locations, each of which can be accessed by an integer index.

Array list

A Java class that implements a dynamically-growable array of objects.

Assertion

A claim that a certain condition holds in a particular program location.

Assignment

Placing a new value into a variable.

Association

A relationship between classes in which one can navigate from objects of one class to objects of the other class, usually by following object references.

Asymmetric bounds

Bounds that include the starting index but not the ending index.

Attribute

A named property that an object is responsible for maintaining.

Auto-boxing

Automatically converting a primitive type value into a wrapper type object.

Balanced tree

A tree in which each subtree has the property that the number of descendants to the left is approximately the same as the number of descendants to the right.

Big-Oh notation

The notation g(n) = O(f(n)), which denotes that the function g grows at a rate that is bounded by the growth rate of the function f with respect to n. For example, 10n2 − 100n = 1000 = O(n2).

Binary file

A file in which values are stored in their binary representation and cannot be read as text.

Binary operator

An operator that takes two arguments, for example + in x + y.

Binary search

A fast algorithm for finding a value in a sorted array. It narrows the search down to half of the array in every step.

Binary search tree

A binary tree in which each subtree has the property that all left descendants are smaller than the value stored in the root, and all right descendants are larger.

Binary tree

A tree in which each node has at most two child nodes.

Bit

Binary digit; the smallest unit of information, having two possible values: 0 and 1. A data element consisting of n bits has 2n possible values.

Black-box testing

Testing a method without knowing its implementation.

Block

A group of statements bracketed by {}.

Blocked thread

A thread that cannot proceed because it is waiting for some external event.

Boolean operator

See Logical operator

Boolean type

A type with two possible values: true and false.

Border layout

A layout management scheme in which components are placed into the center or one of the four borders of their container.

Boundary test case

A test case involving values that are at the outer boundary of the set of legal values. For example, if a function is expected to work for all nonnegative integers, then 0 is a boundary test case.

Bounds error

Trying to access an array element that is outside the legal range.

Breakpoint

A point in a program, specified in a debugger, at which the debugger stops executing the program and lets the user inspect the program state.

break statement

A statement that terminates a loop or switch statement.

Bucket

In a hash table, a set of values with the same hash code.

Buffer

A temporary storage location for holding values that have been produced (for example, characters typed by the user) and are waiting to be consumed (for example, read a line at a time).

Buffered input

Input that is gathered in batches, for example, a line at a time.

Bug

A programming error.

Byte

A number made up of eight bits. Essentially all currently manufactured computers use a byte as the smallest unit of storage in memory.

Bytecode

Instructions for the Java virtual machine.

Callback

A mechanism for specifying a block of code so it can be executed at a later time.

Call by reference

A method call mechanism in which the method receives the memory location of a variable supplied as an actual parameter. Call by reference enables a method to change the contents of the original variable so that the change remains in effect after the method returns.

Call by value

A method call mechanism in which the method receives a copy of the contents of a variable supplied as an actual parameter. Java uses only call by value. If a parameter variable's type is a class, its value is an object reference, so the method can alter that object but cannot make the parameter variable refer to a different object.

Call stack

The ordered set of all methods that currently have been called but not yet terminated, starting with the current method and ending with main.

Case sensitive

Distinguishing upper- and lowercase characters.

Cast

Explicitly converting a value from one type to a different type. For example, the cast from a floating-point number x to an integer is expressed in Java by the cast notation (int) x.

catch clause

A part of a try block that is executed when a matching exception is thrown by any statement in the try block.

Central processing unit (CPU)

The part of a computer that executes the machine instructions.

Character

A single letter, digit, or symbol.

Check box

A user-interface component that can be used for a binary selection.

Checked exception

An exception that the compiler checks. All checked exceptions must be declared or caught.

Class

A programmer-defined data type.

Class method

See Static method

Class path

The set of directories and archives that the virtual machine searches for class files.

Client

A computer program or system that issues requests to a server and processes the server responses.

Cloning

Making a copy of an object so the copy's state can be modified independently of the original object.

Code coverage

A measure of the amount of source code that has been executed during testing.

Cohesion

A class is cohesive if its features support a single abstraction.

Collaborator

A class on which another class depends.

Combo box

A user-interface component that combines a text field with a drop-down list of selections.

Command line

The line the user types to start a program in DOS or UNIX or a command window in Windows. It consists of the program name followed by any necessary arguments.

Comment

An explanation to help the human reader understand a section of a program; ignored by the compiler.

Compiler

A program that translates code in a high-level language (such as Java) to machine instructions (such as bytecode for the Java virtual machine).

Compile-time error

An error that is detected when a program is compiled.

Component

See User-interface componentCompound statement A statement such as if or while that is made up of several parts such as a condition and a body.

Concatenation

Placing one string after another to form a new string.

Concrete class

A class that can be instantiated.

Condition object

An object that manages threads that currently cannot proceed.

Console program

A Java program that does not have a graphical window. A console program reads input from the keyboard and writes output to the terminal screen.

Constant

A value that cannot be changed by a program. In Java, constants are defined with the reserved word final.

Construction

Setting a newly allocated object to an initial state.

Constructor

A method that initializes a newly instantiated object.

Container

A user-interface component that can hold other components and present them together to the user. Also, a data structure, such as a list, that can hold a collection of objects and present them individually to a program.

Content pane

The part of a Swing frame that holds the user-interface components of the frame.

Coupling

The degree to which classes are related to each other by dependency.

CRC card

An index card representing a class that lists its responsibilities and collaborating classes.

De Morgan's Law

A law about logical operations that describes how to negate expressions formed with and and or operations.

Deadlock

A state in which no thread can proceed because each thread is waiting for another to do some work first.

Deadly embrace

A set of blocked threads, each of which could only be unblocked by the action of other threads in the set.

Debugger

A program that lets a user run another program one or a few steps at a time, stop execution, and inspect the variables in order to analyze it for bugs.

Default constructor

A constructor that is invoked with no parameters.

Dependency

The uses relationship between classes, in which one class needs services provided by another class.

Dictionary ordering

See Lexicographic ordering

Directory

A structure on a disk that can hold files or other directories; also called a folder.

Documentation comment

A comment in a source file that can be automatically extracted into the program documentation by a program such as javadoc.

Dot notation

The notation object.method(parameters) or object.variable used to invoke a method or access a variable.

Doubly linked list

A linked list in which each link has a reference to both its predecessor and successor links.

DTD (Document Type Definition)

A sequence of rules that describes the legal child elements and attributes for each element type in an SGML or XML document.

Dynamic method lookup

Selecting a method to be invoked at run time. In Java, dynamic method lookup considers the class of the implicit parameter object to select the appropriate method.

Editor

A program for writing and modifying text files.

Embedded system

The processor, software, and supporting circuitry that is included in a device other than a computer.

Encapsulation

The hiding of implementation details.

End of file

The condition that is true when all characters of a file have been read. Note that there is no special "end of file character". When composing a file on the keyboard, you may need to type a special character to tell the operating system to end the file, but that character is not part of the file.

Enumeration type

A type with a finite number of values, each of which has its own symbolic name.

Escape character

A character in text that is not taken literally but has a special meaning when combined with the character or characters that follow it. The character is an escape character in Java strings.

Event

See User-interface event

Event class

A class that contains information about an event, such as its source.

Event adapter

A class that implements an event listener interface by defining all methods to do nothing.

Event handler

A method that is executed when an event occurs.

Event listener

An object that is notified by an event source when an event occurs.

Event source

An object that can notify other classes of events.

Exception

A class that signals a condition that prevents the program from continuing normally. When such a condition occurs, an object of the exception class is thrown.

Exception handler

A sequence of statements that is given control when an exception of a particular type has been thrown and caught.

Explicit parameter

A parameter of a method other than the object on which the method is invoked.

Expression

A syntactical construct that is made up of constants, variables, method calls, and operators combining them.

Extension

The last part of a file name, which specifies the file type. For example, the extension .java denotes a Java file.

Extreme Programming

A development methodology that strives for simplicity, by removing formal structure and focusing on best practices.

Fibonacci numbers

The sequence of numbers 1, 1, 2, 3, 5, 8, 13, ..., in which every term is the sum of its two predecessors.

File

A sequence of bytes that is stored on disk.

File pointer

The position within a random-access file of the next byte to be read or written. It can be moved so as to access any byte in the file.

finally clause

A part of a try block that is executed no matter how the try block is exited.

Flag

See Boolean typeFloating-point number A number that can have a fractional part.

Flow layout

A layout management scheme in which components are laid out left to right.

Flushing a stream

Sending all characters that are still held in a buffer to its destination.

Folder

See Directory

Font

A set of character shapes in a particular style and size.

Foreign key

A reference to a primary key in a linked table.

Formal parameter

A variable in a method definition; it is initialized with an actual parameter value when the method is called.

Frame

A window with a border and a title bar.

Garbage collection

Automatic reclamation of memory occupied by objects that are no longer referenced.

Generic class

A class with one or more type parameters.

Generic method

A method with one or more type parameters.

Generic programming

Providing program components that can be reused in a wide variety of situations.

goto statement

A statement that transfers control to some other statement, which is tagged with a label. Java does not have a goto statement.

Grammar

A set of rules that specifies which sequences of tokens are legal for a particular document set.

Graphics context

A class through which a programmer can cause shapes to appear on a window or off-screen bitmap.

grep

The "global regular expression print" search program, useful for finding all strings matching a pattern in a set of files.

Grid layout

A layout management scheme in which components are placed into a two-dimensional grid.

GUI (Graphical User Interface)

A user interface in which the user supplies inputs through graphical components such as buttons, menus, and text fields.

Hash code

A value that is computed by a hash function.

Hash collision

Two different objects for which a hash function computes identical values.

Hash function

A function that computes an integer value from an object in such a way that different objects are likely to yield different values.

Hash table

A data structure in which elements are mapped to array positions according to their hash function values.

Hashing

Applying a hash function to a set of objects.

Heap

A balanced binary tree that is used for implementing sorting algorithms and priority queues.

Heapsort algorithm

A sorting algorithm that inserts the values to be sorted into a heap.

HTML (Hypertext Markup Language)

The language in which web pages are described.

HTTP (Hypertext Transfer Protocol)

The protocol that defines communication between web browsers and web servers.

IDE (Integrated Development Environment)

A programming environment that includes an editor, compiler, and debugger.

Immutable class

A class without a mutator method.

Implementing an interface

Implementing a class that defines all methods specified in the interface.

Implicit parameter

The object on which a method is invoked. For example, in the call x.f(y), the object x is the implicit parameter of the method f.

Importing a class or package

Indicating the intention of referring to a class, or all classes in a package, by the simple name rather than the qualified name.

Inheritance

The is-a relationship between a more general superclass and a more specialized subclass.

Initialization

Setting a variable to a well-defined value when it is created.

Inner class

A class that is defined inside another class.

Instance method

A method with an implicit parameter; that is, a method that is invoked on an instance of a class.

Instance of a class

An object whose type is that class.

Instance variable

A variable defined in a class for which every object of the class has its own value.

Instantiation of a class

Construction of an object of that class.

Integer

A number that cannot have a fractional part.

Integer division

Taking the quotient of two integers and discarding the remainder. In Java the / symbol denotes integer division if both arguments are integers. For example, 11/4 is 2, not 2.75.

Interface

A type with no instance variables, only abstract methods and constants.

Internet

A worldwide collection of networks, routing equipment, and computers using a common set of protocols that define how participants interact with each other.

Interpreter

A program that reads a set of codes and carries out the commands specified by them.

Iterator

An object that can inspect all elements in a container such as a linked list.

JavaBean

A class with a default constructor that exposes properties through its get and set methods.

javadoc

The documentation generator in the Java SDK. It extracts documentation comments from Java source files and produces a set of linked HTML files.

JavaServer Faces (JSF)

A framework for developing web applications that aids in the separation of user interface and program logic.

JDBC (Java Database Connectivity)

The technology that enables a Java program to interact with relational databases.

JDK

The Java software development kit that contains the Java compiler and related development tools.

Join

A database query that involves multiple tables.

JSF container

A program that executes JSF applications.

JVM

The Java Virtual Machine.

Layout manager

A class that arranges user-interface components inside a container.

Lazy evaluation

Deferring the computation of a value until it is needed, thereby avoiding the computation if the value is never needed.

Legacy code

Software that has existed for a long time and that continues to operate.

Lexicographic ordering

Ordering strings in the same order as in a dictionary, by skipping all matching characters and comparing the first non matching characters of both strings. For example, "orbit" comes before "orchid" in lexicographic ordering. Note that in Java, unlike a dictionary, the ordering is case-sensitive: Z comes before a.

Library

A set of precompiled classes that can be included in programs.

Linear search

Searching a container (such as an array or list) for an object by inspecting each element in turn.

Linked list

A data structure that can hold an arbitrary number of objects, each of which is stored in a link object, which contains a pointer to the next link.

Local variable

A variable whose scope is a block.

Lock

A data structure to regulate the scheduling of multiple threads. Once a thread has acquired a lock, other threads that also wish to acquire it must wait until the first thread relinquishes it.

Lock object

An object that allows a single thread to execute a section of a program.

Logging

Sending messages that trace the progress of a program to a file or window.

Logical operator

An operator that can be applied to Boolean values. Java has three logical operators: &&, ||, and !.

Logic error

An error in a syntactically correct program that causes it to act differently from its specification. (A form of run-time error.)

Loop

A sequence of instructions that is executed repeatedly.

Loop and a half

A loop whose termination decision is neither at the beginning nor at the end.

Loop invariant

A statement about the program state that is preserved when the statements in the loop are executed once.

Machine code

Instructions that can be executed directly by the CPU.

Magic number

A number that appears in a program without explanation.

main method

The method that is first called when a Java application executes.

Managed bean

A JavaBean that is managed by a JSF container.

Map

A data structure that keeps associations between key and value objects.

Markup

Information about data that is added as humanly readable instructions. An example is the tagging of HTML documents with elements such as <h1> or <b>.

Memory location

A value that specifies the location of data in computer memory.

Merge sort

A sorting algorithm that first sorts two halves of a data structure and then merges the sorted subarrays together.

Meta data

Data that describe properties of a data set.

Method

A sequence of statements that has a name, may have formal parameters, and may return a value. A method can be invoked any number of times, with different values for its parameters.

Method expression

In JSF, an expression describing a bean and a method that is to be applied to the bean at a later time.

Method signature

The name of a method and the types of its parameters.

Mixed content

In XML, a markup element that contains both text and other elements.

Mock object

An object that is used during program testing, replacing another object and providing similar behavior. Usually, the mock object is simpler to implement or provides better support for testing.

Mutator method

A method that changes the state of an object.

Mutual recursion

Cooperating methods that call each other.

Name clash

Accidentally using the same name to denote two program features in a way that cannot be resolved by the compiler.

Navigation rule

In JSF, a rule that describes when to move from one web page to another.

Negative test case

A test case that is expected to fail. For example, when testing a root-finding program, an attempt to compute the square root of −1 is a negative test case.

Nested block

A block that is contained inside another block.

Nested loop

A loop that is contained in another loop.

Network protocol

A set of rules that must be followed by programs that communicate over a network.

new operator

An operator that allocates new objects.

Newline

The ' ' character, which indicates the end of a line.

Null reference

A reference that does not refer to any object.

Number literal

A constant value in a program this is explicitly written as a number, such as −2 or 6.02214115E23.

Object

A value of a class type.

Object-oriented design

Designing a program by discovering objects, their properties, and their relationships.

Object reference

A value that denotes the location of an object in memory. In Java, a variable whose type is a class contains a reference to an object of that class.

Off-by-one error

A common programming error in which a value is one larger or smaller than it should be.

Opening a file

Preparing a file for reading or writing.

Operating system

The software that launches application programs and provides services (such as a file system) for those programs.

Operator

A symbol denoting a mathematical or logical operation, such as + or &&.

Operator associativity

The rule that governs in which order operators of the same precedence are executed. For example, in Java the - operator is left-associative because a - b - c is interpreted as (a - b) - c, and = is right-associative because a = b = c is interpreted as a = (b = c).

Operator precedence

The rule that governs which operator is evaluated first. For example, in Java the && operator has a higher precedence than the || operator. Hence a || b && c is interpreted as a || (b && c). (See Appendix B.)

Oracle

A program that predicts how another program should behave.

Overloading

Giving more than one meaning to a method name.

Overriding

Redefining a method in a subclass.

Package

A collection of related classes. The import statement is used to access one or more classes in a package.

Package access

Accessibility by methods of classes in the same package.

Panel

A user-interface component with no visual appearance. It can be used to group other components.

Parallel arrays

Arrays of the same length, in which corresponding elements are logically related.

Parameter

An item of information that is specified to a method when the method is called. For example, in the call System.out.println("Hello, World!"), the parameters are the implicit parameter System.out and the explicit parameter "Hello, World!".

Parameter passing

Specifying expressions to be actual parameter values for a method when it is called.

Parameter variable

A variable of a method that is initialized with a parameter value when the method is called.

Parse tree

A tree structure that shows how a string conforms to rules of a grammar.

Parser

A program that reads a document, checks whether it is syntactically correct, and takes some action as it processes the document.

Partially filled array

An array that is not filled to capacity, together with a companion variable that indicates the number of elements actually stored.

Permutation

A rearrangement of a set of values.

Polymorphism

Selecting a method among several methods that have the same name on the basis of the actual types of the implicit parameters.

Positive test case

A test case that a method is expected to handle correctly.

Postcondition

A condition that is true after a method has been called.

Postfix operator

A unary operator that is written after its argument.

Precondition

A condition that must be true when a method is called if the method is to work correctly.

Predicate method

A method that returns a Boolean value.

Prefix operator

A unary operator that is written before its argument.

Prepared statement

A SQL statement with a precomputed query strategy.

Primary key

A column (or combination of columns) whose value uniquely specifies a table record.

Primitive type

In Java, a number type or boolean.

Priority queue

An abstract data type that enables efficient insertion of elements and efficient removal of the smallest element.

Private feature

A feature that is accessible only by methods of the same class or an inner class.

Project

A collection of source files and their dependencies.

Prompt

A string that tells the user to provide input.

Property

A named value that is managed by a component.

Protected feature

A feature that is accessible by a class, its inner classes, its subclasses, and the other classes in the same package.

Pseudocode

A high-level description of the actions of a program or algorithm, using a mixture of English and informal programming language syntax.

Pseudorandom number

A number that appears to be random but is generated by a mathematical formula.

Public feature

A feature that is accessible by all classes.

Public interface

The features (methods, variables, and nested types) of a class that are accessible to all clients.

Qualified name

A name that is made unambiguous because it starts with the package name.

Queue

A collection of items with "first in, first out" retrieval.

Quicksort

A generally fast sorting algorithm that picks an element, called the pivot, partitions the sequence into the elements smaller than the pivot and those larger than the pivot, and then recursively sorts the subsequences.

Race condition

A condition in which the effect of multiple threads on shared data depends on the order in which the threads are scheduled.

Radio button

A user-interface component that can be used for selecting one of several options.

RAM (random-access memory)

Electronic circuits in a computer that can store code and data of running programs.

Random access

The ability to access any value directly without having to read the values preceding it.

Reader

In the Java input/output library, a class from which to read characters.

Recursion

A method for computing a result by decomposing the inputs into simpler values and applying the same method to them.

Recursive method

A method that can call itself with simpler values. It must handle the simplest values without calling itself.

Redirection

Linking the input or output of a program to a file instead of the keyboard or display.

Reference

See Object reference

Regression testing

Keeping old test cases and testing every revision of a program against them.

Regular expression

A string that defines a set of matching strings according to their content. Each part of a regular expression can be a specific required character; one of a set of permitted characters such as [abc], which can be a range such as [a-z]; any character not in a set of forbidden characters, such as [^0-9]; a repetition of one or more matches, such as [0-9]+, or zero or more, such as [ACGT]; one of a set of alternatives, such as and|et|und; or various other possibilities. For example, "[A-Za-z][0-9]+" matches "Cloud9" or "007" but not "Jack".

Relational database

A data repository that stores information in tables and retrieves data as the result of queries that are formulated in terms of table relationships.

Relational operator

An operator that compares two values, yielding a Boolean result.

Reserved word

A word that has a special meaning in a programming language and therefore cannot be used as a name by the programmer.

Return value

The value returned by a method through a return statement.

Reverse Polish notation

A style of writing expressions in which the operators are written following the operands, such as 2 3 4 + for 2 + 3 4.

Roundoff error

An error introduced by the fact that the computer can store only a finite number of digits of a floating-point number.

Runnable thread

A thread that can proceed provided it is given a time slice to do work.

Run-time error

An error in a syntactically correct program that causes it to act differently from its specification.

Run-time stack

The data structure that stores the local variables of all called methods as a program runs.

Scope

The part of a program in which a variable is defined.

Scripting language

A programming language that favors rapid development over execution speed and code maintainability.

Selection sort

A sorting algorithm in which the smallest element is repeatedly found and removed until no elements remain.

Sentinel

A value in input that is not to be used as an actual input value but to signal the end of input.

Sequential access

Accessing values one after another without skipping over any of them.

Sequential search

See Linear searchSerialization The process of saving an object, and all the objects that it references, to a stream.

Server

A computer program or system that receives requests from a client, obtains or computes the requested information, and sends it to the client.

Session

A sequence of page requests from the same browser to the same web server.

Set

An unordered collection that allows efficient addition, location, and removal of elements.

Shadowing

Hiding a variable by defining another one with the same name.

Shallow copy

Copying only the reference to an object.

Shell script

A file that contains commands for running programs and manipulating files. Typing the name of the shell script file on the command line causes those commands to be executed.

Shell window

A window for interacting with an operating system through textual commands.

Short circuit evaluation

Evaluating only a part of an expression if the remainder cannot change the result.

Side effect

An effect of a method other than returning a value.

Sign bit

The bit of a binary number that indicates whether the number is positive or negative.

Signature

See Method signature

Simple statement

A statement consisting of a single expression.

Single-stepping

Executing a program in the debugger one statement at a time.

Socket

An object that encapsulates a TCP/IP connection. To communicate with the other endpoint of the connection, you use the input and output streams attached to the socket.

Software life cycle

All activities related to the creation and maintenance of the software from initial analysis until obsolescence.

Source code

Instructions in a programming language that need to be translated before execution on a computer.

Source file

A file containing instructions in a programming language such as Java.

Spiral model

An iterative process model of software development in which design and implementation are repeated.

SQL (Structured Query Language)

A command language for interacting with a database.

Stack

A data structure with "last in, first out" retrieval. Elements can be added and removed only at one position, called the top of the stack.

Stack trace

A printout of the call stack, listing all currently pending method calls.

State

The current value of an object, which is determined by the cumulative action of all methods that were invoked on it.

State diagram

A diagram that depicts state transitions and their causes.

Statement

A syntactical unit in a program. In Java a statement is either a simple statement, a compound statement, or a block.

Static method

A method with no implicit parameter.

Static variable

A variable defined in a class that has only one value for the whole class, which can be accessed and changed by any method of that class.

Stored procedures

A database procedure that is executed in the database kernel.

Stream

An abstraction for a sequence of bytes from which data can be read or to which data can be written.

String

A sequence of characters.

Stub

A method with no or minimal functionality.

Subclass

A class that inherits variables and methods from a superclass but adds instance variables, adds methods, or redefines methods.

Superclass

A general class from which a more specialized class (a subclass) inherits.

Swing

A Java toolkit for implementing graphical user interfaces.

Symmetric bounds

Bounds that include the starting index and the ending index.

Synchronized block

A block of code that is controlled by a lock. To start execution, a thread must acquire the lock. Upon completion, it relinquishes the lock.

Synchronized method

A method that is controlled by a lock. In order to execute the method, the calling thread must acquire the lock.

Syntax

Rules that define how to form instructions in a particular programming language.

Syntax diagram

A graphical representation of grammar rules.

Syntax error

An instruction that does not follow the programming language rules and is rejected by the compiler. (A form of compile-time error.)

Tab character

The ' ' character, which advances the next character on the line to the next one of a set of fixed positions known as tab stops.

TCP/IP (Transmission Control Protocol/Internet Protocol)

The pair of communication protocols that is used to establish reliable transmission of data between two computers on the Internet.

Ternary operator

An operator with three arguments. Java has one ternary operator, a ? b : c.

Test coverage

The instructions of a program that are executed in a set of test cases.

Test harness

A program that calls a function that needs to be tested, supplying parameters and analyzing the function's return value.

Test suite

A set of test cases for a program.

Text field

A user-interface component that allows a user to provide text input.

Text file

A file in which values are stored in their text representation.

Thread

A program unit that is executed independently of other parts of the program.

Three-tier application

An application that is composed of separate tiers for presentation logic, business logic, and data storage.

Throwing an exception

Indicating an abnormal condition by terminating the normal control flow of a program and transferring control to a matching catch clause.

throws specifier

Indicates the types of the checked exceptions that a method may throw.

Time slicing

Scheduling threads by giving each thread a small amount of time in which to do its work, then giving control to another thread.

Token

A sequence of consecutive characters from an input source that belongs together for the purpose of analyzing the input. For example, a token can be a sequence of characters other than white space.

Total ordering

An ordering relationship in which all elements can be compared to each other.

Trace message

A message that is printed during a program run for debugging purposes.

Transaction

A set of database operations that should either succeed in their entirety, or not happen at all.

Tree

A data structure consisting of nodes, each of which has a list of child nodes, and one of which is distinguished as the root node.

try block

A block of statements that contains exception processing clauses. A try block contains at least one catch or finally clause.

Turing machine

A very simple model of computation that is used in theoretical computer science to explore computability of problems.

Two-dimensional array

A tabular arrangement of elements in which an element is specified by a row and a column index.

Type

A named set of values and the operations that can be carried out with them.

Type parameter

A parameter in a generic class or method that can be replaced with an actual type.

Type variable

A variable in the declaration of a generic type that can be instantiated with a type.

Unary operator

An operator with one argument.

Unchecked exception

An exception that the compiler doesn't check.

Unicode

A standard code that assigns code values consisting of two bytes to characters used in scripts around the world. Java stores all characters as their Unicode values.

Unified Modeling Language (UML)

A notation for specifying, visualizing, constructing, and documenting the artifacts of software systems.

Uninitialized variable

A variable that has not been set to a particular value. In Java, using an uninitialized local variable is a syntax error.

Unit test

A test of a method by itself, isolated from the remainder of the program.

URL (uniform resource locator)

A pointer to an information resource (such as a web page or an image) on the World Wide Web.

User-interface component

A building block for a graphical user interface, such as a button or a text field. User-interface components are used to present information to the user and allow the user to enter information to the program.

User-interface event

A notification to a program that a user action such as a key press, mouse move, or menu selection has occurred.

Value expression

In JSF, an expression describing a bean and a property that is to be accessed at a later time.

Variable

A symbol in a program that identifies a storage location that can hold different values.

Virtual machine

A program that simulates a CPU that can be implemented efficiently on a variety of actual machines. A given program in Java bytecode can be executed by any Java virtual machine, regardless of which CPU is used to run the virtual machine itself.

Visual programming

Programming by arranging graphical elements on a form, setting program behavior by selecting properties for these elements, and writing only a small amount of "glue" code linking them.

void

A reserved word indicating no type or an unknown type.

Watch window

A window in a debugger that shows the current values of selected variables.

Waterfall model

A sequential process model of software development, consisting of analysis, design, implementation, testing, and deployment.

Web application

An application that executes on a web server and whose user interface is displayed in a web browser.

White-box testing

Testing methods by taking their implementations into account, in contrast to black-box testing; for example, by selecting boundary test cases and ensuring that all branches of the code are covered by some test case.

White space

Any sequence of only space, tab, and newline characters.

Wrapper class

A class that contains a primitive type value, such as Integer.

Writer

In the Java input/output library, a class to which characters are to be sent.

XML (Extensible Markup Language)

A simple format for structured data in which the structure is indicated by markup instructions.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.72.245