Java Precisely, Second Edition

Java Precisely, Second Edition

By Peter Sestoft

A quick reference guide to Java 5.0 for students and Java programmers.





A quick reference guide to Java 5.0 for students and Java programmers.

This concise guide to the Java programming language, version 5.0, offers a quick reference for the reader who wants to know the language in greater detail than that provided by the standard text or language reference book. It presents the entire Java programming language and essential parts of the class libraries—the collection classes and the input-output classes.

The second edition adds material on autoboxing of primitive types, string formatting, variable-arity methods, the enhanced for statement, enum types, generic types and methods, reflection, and meta-data annotations. It has been updated throughout to reflect the changes from Java 1.4 to Java 5.0. The final section summarizes and illustrates the new features of Java 5.0 and compares them to the C# programming language. General rules are shown on left-hand pages and corresponding examples on right-hand pages. All examples are fragments of legal Java programs and the complete ready-to-run example programs can be found at the book's Web site,


Out of Print ISBN: 9780262693257 168 pp. | 8 in x 9 in


  • The triple espresso of Java books. Rich and dense with information.

    Richard Pattis

    Department of Computer Science, Carnegie Mellon University

  • This no-nonsense book gives fast access to the essentials of each Java construct. It is a great reference for the Java student.

    Alan W. Biermann

    Professor and Chair, Department of Computer Science, Duke University