Embracing in full the new features of the Java 2 platform as they apply to CS1 topics, this leading textbook continues to teach beginning programs how to design and implement high-quality object-oriented software. New in the second edition is a chapter entitled "Input and Output" (Ch. 7), which explains the class library used earlier in the text and explores other I/O issues such as streams, file I/O, and network-based I/O. Applets and applications are intertwined throughout the book to demonstrate computing concepts-applets, introduced in Ch. 2, build on the excitement of the web, while applications allow students to gain a clear understanding of programming concepts.
Lewis and Loftus have expanded their coverage of classes and objects with this edition (introduced in Ch. 4) to provide more in-depth discussion of methods and parameter passing, method and static variables, and method overloading. Discussion of Swing architecture and components is also new to this edition, as well as the inclusion of new Collection classes.
The Update to the second edition has been published to provide readers with additional resources to enhance their learning. It includes a CD-ROM with various development environments, the textbook example code, and the presentation slides from the book. The typeface for of some of the code has been redesigned to make it more legible. Lastly, the update includes all corrections that have been discovered since the second edition's publication. The main content and flow of the update will remain as it is.
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 serialization.
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 lasses 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.
FEATURES - Provides an object-oriented approach to Introductory Programming (Chapters 2 and 3 introduce object concepts; Chapter 4 and beyond show how to design and implement classes)
- New chapter on I/O familiarizes students with the different facets of user interaction
- The new, optional Graphics Track throughout the text reinforces the primary themes of each chapter by using graphical examples and discussing new graphics material
- New syntax boxes highlight Java language elements with syntax diagrams, short descriptions, and concise examples
- Web Bonus sections highlight extra information about various CS1 topics that can be found on the World Wide Web
- NEWNow includes a CD-ROM containing Java development tools, as well as source code and PowerPoint slides from the text