Abstract class - Answers A class that cannot be instantiated
Abstract data type - Answers A specification of the fundamental operations that characterize a data
type, without supplying an implementation.
Abstract method - Answers A method with a name, parameter variable types, and return type but
without an implementation.
Access specifier - Answers A reserved word that indicates the accessibility of a feature, such as private or
public
Accessor method - Answers A method that accesses an object but does not change it.
Aggregation - Answers The has-a relationship between classes.
Algorithm - Answers An unambiguous, executable, and terminating specification of a way to solve a
problem.
Annonymous class - Answers A class that does not have a name
API (Application Programming Interface) - Answers A code library for building programs.
API Documentation - Answers Information about each class in the Java library.
Applet - Answers A graphical Java program that executes inside a web browser or applet viewer.
Argument - Answers A value supplied in a method call, or one of the values combined by an operator.
Array - Answers 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 - Answers A Java class that implements a dynamically-growable array of objects.
Assertion - Answers A claim that a certain condition holds in a particular program location.
Assignment - Answers Placing a new value into a variable.
Association - Answers 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 - Answers Bounds that include the starting index but not the ending index.
Attribute - Answers A named property that an object is responsible for maintaining.
Auto-boxing - Answers Automatically converting a primitive type value into a wrapper type object.
,Balanced tree - Answers 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 - Answers 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, 10n^2 + 100n - 1000
= O(n^2).
Binary file - Answers A file in which values are stored in their binary representation and cannot be read
as text.
Binary operator - Answers An operator that takes two arguments, for example + in x + y.
Binary search - Answers A fast algorithm for finding a value in a stored array. It narrows the search down
to half of the array in every step.
Binary search tree - Answers 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 - Answers A tree in which each node has at most two child nodes.
Bit - Answers Binary digit; the smallest unit of information, having two possible values: 0 and 1. A data
element consisting of n bits has 2^n possible values.
Black-box testing - Answers Testing a method without knowing its implementation.
Block - Answers A group of statements bracketed by {}.
Boddy - Answers All statements of a method or block.
Boolean operator - Answers An operator that can be applied to Boolean values. Java has three Boolean
operators: &&, ||, |.
Boolean type - Answers A type with two possible values: true and false.
Border layout - Answers A layout management scheme in which components are placed into the center
or one of the four borders of their container.
Boundary test case - Answers A test case involving values that are at the outer boundary of the set of
legal values. For example, if a method is expected to work for all nonnegative integers, then 0 is this.
Bounds error - Answers Trying to access an array element that is outside the legal range.
break statement - Answers A statement that terminates a loop or switch statement.
Breakpoint - Answers 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.
, Buffer - Answers 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).
Bug - Answers A programming error.
Byte - Answers A numbed made up of eight bits. Essentially all currently manufactured computers use a
byte as the smallest unit of storage in memory.
Bytecode - Answers Instructions for the Java virtual machine.
Call stack - Answers The ordered set of all methods that currently have been called but not yet
terminated, starting with the current method and ending with main.
Callback - Answers A mechanism for specifying a block of code so it can be executed at a later time.
Case sensitive - Answers Distinguishing upper- and lowercase characters.
Cast - Answers 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 - Answers A part of a try block that is executed when a matching exception is thrown by any
statement in the try block.
Centeral processing unit (CPU) - Answers The part of a computer that executes the machine instructions.
Character - Answers A single letter, digit, or symbol.
Check box - Answers A user-interface component that can be used for a binary selection.
Checked exception - Answers An exception that the compiler checks. All checked exceptions must be
declared or caught.
Class - Answers A programmer-defined data type.
Client - Answers A computer program or system that issues requests to a server and processes the
server responses.
Code coverage - Answers A measure of the amount of source code that has been executed during
testing.
Cohesive - Answers A class is cohesive if its features support a single abstraction.
Collection - Answers A data structure that provides a mechanism for adding, removing, and locating
elements.
Collaborator - Answers A class on which another class depends.