Java Reference
In-Depth Information
structured programming— An approach to pro-
gram development in which each software com-
ponent has one entry and exit point and in which
the flow of control does not cross unnecessarily.
stub— A method that simulates the functional-
ity of a particular software component. Often
used during unit testing.
subclass— A class derived from another class
via inheritance. Also called a derived class or
child class. See also superclass.
subscript— See index.
super— A Java reserved word that is a refer-
ence to the parent class of the object making
the reference. Often used to invoke a parent's
constructor.
super reference— See super.
superclass— The class from which another class
is derived via inheritance. Also called a base
class or parent class. See also subclass.
support methods— Methods in an object that
are not intended for use outside the class. They
provide support functionality for service meth-
ods. As such, they are usually not declared with
public visibility.
swapping— The process of exchanging the val-
ues of two variables.
swing— The package in the Java API (javax.
swing) that contains classes related to graphical
user interfaces. Swing provides alternative com-
ponents than the Abstract Windowing Toolkit
package, but does not replace it.
switch— A Java reserved word that specifies a
compound conditional construct.
synchronization— The process of ensuring that
data shared among multiple threads cannot be
accessed by more than one thread at a time. See
also synchronized.
synchronized— A Java reserved word that serves
as a modifier for methods. Separate threads of a
process can execute concurrently in a method,
unless the method is synchronized, making it
a mutually exclusive resource. Methods that
access shared data should be synchronized.
syntax rules— The set of specifications that gov-
ern how the elements of a programming language
can be put together to form valid statements.
syntax error— An error produced by the com-
piler because a program did not conform to the
syntax of the programming language. Syntax
errors are a subset of compile-time errors. See
also compile-time error, logical error, run-time
error, syntax rules.
tabbed pane— A graphical user interface (GUI)
container that presents a set of cards from
which the user can choose. Each card contains
its own GUI components.
target value— The value that is sought when
performing a search on a collection of data.
TCP/IP— Software that controls the movement
of messages across the Internet. The acro-
nym stands for Transmission Control Protocol/
Internet Protocol.
terabyte (TB)— A unit of binary storage, equal
to 2 40 (approximately 1 trillion) bytes.
termination— The point at which a program
stops executing.
ternary operator— An operator that uses three
operands.
test case— A set of input values and user actions,
along with a specification of the expected out-
put, used to find errors in a system.
testing— (1) The process of running a program
with various test cases in order to discover
problems. (2) The process of critically evaluat-
ing a design or program.
text area— A graphical user interface compo-
nent that displays, or allows the user to enter,
multiple lines of data.
 
Search WWH ::




Custom Search