Embracing in full the new features of the Java 2 platform as they apply to CS1/Introductory Programming topics, the second edition of this leading textbook continues to teach beginning programmers how to design and implement high-quality object-oriented software. A new chapter, "Exceptions and I/O Streams" (Chapter 8), has been added, which explains the Keyboard class used in the text and explores other I/O issues such as files, network communication, and object serialisation.
Applets and applications are intertwined throughout the book to demonstrate computing concepts. Applets, introduced in Chapter 2, build on the excitement of the Web, while applications allow students to gain a clear understanding of programming concepts.
John Lewis and William Loftus have expanded their coverage of and objects with this edition to provide more in-depth discussion of methods and parameter passing, object relationships, and class design. Discussion of Swing components is also new to this edition, as is the inclusion of new Collection classes.