Java Reference
In-Depth Information
1.18. Other Topics Briefly Noted
There are several other features that we mention briefly here and cover
later in more detail:
•
Threads
The language has built-in support for creating multith-
readed applications. It uses per-object and per-class monitor-style
locks to synchronize concurrent access to object and class data.
See
Chapter 14
for more details.
•
Reflection
The reflection mechanism (known as runtime type in-
formation
RTTI
in some languages) allows browsing of class types
and their members, and programmatic manipulation of objects.
See
Chapter 16
for more information about reflection.
•
I/O
The
java.io
package provides many different kinds of input
and output classes. See
Chapter 20
for specifics of the I/O capab-
ilities.
•
Collections
You will find many useful collection classes, such as
information about collections.
•
Utility interfaces and classes
The
java.util
package has many oth-
for more information about these utility classes.
•
Internationalization
If your application is available to people all
over the world, you need to be able to adapt the user interface to
support interacting with the user in their language, and using their
conventionssuch as how dates are presented, or how numbers are
formatted. There are a number of classes, mainly in the
java.util
and
java.text
packages that aid you in this. Internationalization
and localization are discussed in
Chapter 24
.
Carefulwe don't want to learn from this!
Calvin and Hobbes