Additional Lesson III: Java Miscellany

This chapter provides a handful of Java odds and ends. The primary goal of this chapter is twofold:

• It will present you with an overview of some very involved APIs that can take entire books to cover adequately.

• It will discuss a few core Java odds and ends that didn't fit elsewhere in Agile Java.

You will learn about:

• JARs

• the finalize method

• regular expressions


• internationalization

• call by reference versus call by value

• Java periphery: quick overviews of various other Java APIs, with pointers to more information


When you learned about the Java classpath in Lesson 1, you learned to add class folders (or directories) to your classpath. A class folder contains discrete class ...

Get Agile Java™: Crafting Code with Test-Driven Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.