|

Addison-Wesley / Prentice Hall

Computer Science

My Instructor Resource Center :  Log in or request access

Core Java™ 2, Volume I--Fundamentals, 6/E
Cay S. Horstmann
Gary CornellUniversity of Connecticut

ISBN-10: 0130471771
ISBN-13:  9780130471772

Publisher:  Prentice Hall
Copyright:  2002
Format:  Paper; 752 pp
Published:  08/22/2002

Appropriate for intermediate to advanced courses in Java programming.

Cay Horstmann has thoroughly updated his legendary Core Java to reflect Java 2, Standard Edition, Version 1.4. The book's new coverage includes these and many other significant enhancements: regular expressions; the high-performance New I/O API; chained exceptions, logging, and other techniques for building more reliable code; and the Preference Class, Java's new cross-platform repository for configuration information. Horstmann presents state-of-the-art discussions of object-oriented Java development, reflection and proxies, updated coverage of Swing user interface development, definitive introductions to inner classes and the Java event model, thorough explanations of stream I/O and object serialization, and much more. This edition contains new review questions and practice exercises, along with even more of the robust, real-world programs previous editions are famous for—all fully updated to reflect the latest JDK features and improvements.



This product accompanies:
Horstmann & Cornell,  Core Java™ 2, Volume I--Fundamentals, 7/E

  • NEW - Fully updated for the latest enhancements in Java 2, Standard Edition, Version 1.4—Including regular expressions, New I/O, chained exceptions, logging, Preference Classes, the new Swing focus architecture, and much more.
    • Helps students rapidly master the most valuable features incorporated in the latest version of Java.

  • NEW - Extensive library of complete, robust program code, updated for the latest JDK 1.4 features and techniques.
    • Helps students learn how to build production-quality software with Java 1.4.

  • NEW - Review questions and practice exercises.
    • Helps students master the latest Java 1.4 features.

  • Definitive coverage of object-oriented Java programming and the Java event model.
    • Gives students a deeper understanding of foundational aspects of Java programming that will translate into better software design and more reliable programs.

  • All code downloadable from companion Web site—Provides a single source for the latest versions of all code associated with the book, including any fixes or updates. URL: www.prenhall.com/horstmann.
    • Gives students easy access to the book's code wherever and whenever they need it.

  • First volume of a 2-Volume Set—Complemented by Core Java, Volume II, Fifth Edition, which focuses on JDK 1.4 enterprise features and advanced user interface development.
    • Gives students comprehensive understanding of contemporary Java development.

  • Fully updated for the latest enhancements in Java 2, Standard Edition, Version 1.4—Including regular expressions, New I/O, chained exceptions, logging, Preference Classes, the new Swing focus architecture, and much more.
    • Helps students rapidly master the most valuable features incorporated in the latest version of Java.

  • Extensive library of complete, robust program code, updated for the latest JDK 1.4 features and techniques.
    • Helps students learn how to build production-quality software with Java 1.4.

  • Review questions and practice exercises.
    • Helps students master the latest Java 1.4 features.



Preface.

To the Reader. About This Book. Conventions. Sample Code.



Acknowledgments.


1. An Introduction to Java.

Java as a Programming Tool. Advantages of Java. The Java “White Paper” Buzzwords. Java and the Internet. A Short History of Java. Common Misconceptions About Java.



2. The Java Programming Environment.

Installing the Java Software Development Kit. Development Environments. Using the Command Line Tools. Using an Integrated Development Environment. Compiling and Running Programs from a Text Editor. Graphical Applications. Applets.



3. Fundamental Programming Structures in Java.

A Simple Java Program. Comments. Data Types. Variables. Assignments and Initializations. Operators. Strings. Control Flow. Arrays.



4. Objects and Classes.

Introduction to Object-Oriented Programming. Using Existing Classes. Building Your Own Classes. Static Fields and Methods. Method Parameters. Object Construction. Packages. Documentation Comments. Class Design Hints.



5. Inheritance.

Extending Classes. Object: The Cosmic Superclass. The Class Class. Reflection. Design Hints for Inheritance.



6. Interfaces and Inner Classes.

Interfaces. Object Cloning. Inner Classes. Proxies.



7. Graphics Programming.

Introduction to Swing. Creating a Frame. Frame Positioning. Displaying Information in a Panel. 2D Shapes. Colors. Text and Fonts. Images.



8. Event Handling.

Basics of Event Handling. The AWT Event Hierarchy. Semantic and Low-Level Events in the AWT. Low-Level Event Types. Actions. Multicasting. The Event Queue.



9. User Interface Components with Swing.

The Model-View-Controller Design Pattern. An Introduction to Layout Management. Text Input. Making Choices. Menus. Sophisticated Layout Management. Dialog Boxes.



10. Deploying Applets and Applications.

Applet Basics. The Applet HTML Tags and Attributes. Multimedia. The Applet Context. JAR Files. Packaging Applications. Java Web Start. Storing Application Preferences.



11. Exceptions and Debugging.

Dealing with Errors. Catching Exceptions. Some Tips on Using Exceptions. Logging. Assertions. Debugging Techniques. Using a Debugger.



12. Streams and Files.

Streams. The Complete Stream Zoo. ZIP File Streams. Putting Streams to Use. Object Streams. File Management. New I/O. Regular Expressions.



Appendix.


Index.

  • 9780131482029
    Core Java™ 2, Volume I--Fundamentals, 7/E
    Horstmann & Cornell
    ©2005 | Prentice Hall | Paper; 784 pp | Instock
    ISBN-10: 0131482025 | ISBN-13: 9780131482029
    Brief Description

  • 9780132354769
    Core Java™, Volume I--Fundamentals, 8/E
    Horstmann & Cornell
    ©2008 | Prentice Hall | Paper; 864 pp | Instock
    ISBN-10: 0132354764 | ISBN-13: 9780132354769

View a Sample Chapter PDF:/samplechapter/0130471771.pdf

CAY HORSTMANN teaches computer science at San Jose State University. He has written six books on C++, Java, and object-oriented development and is the series editor for Prentice Hall PTR's best-selling Core Series.

GARY CORNELL has written or co-written over 20 popular computer books. He has a Ph.D. from Brown University and has been a visiting scientist at IBM Watson Labs as well as a professor at the University of Connecticut.

The best-selling guide for serious programmers of Java technology—fully updated for the Java 1.4 SDK!

  • The experienced developer's guide to the Java program environment-now fully updated for the Java(tm) 1.4 SDK.
  • New coverage: regular expressions, New I/O, assertions, Preferences, Swing enhancements, logging, and more
  • Even more of the robust code examples professional programmers need

Ask any experienced Java technology programmer: Core Java delivers the real-world guidance you need to accomplish even the most challenging tasks. That's why it's been an international best seller for seven straight years. Core Java II, Volume 1 covers the fundamentals of Java 2, Standard Edition, Version 1.4, including major enhancements ranging from regular expressions to high-performance I/O. You'll find state-of-the-art discussions of object-oriented Java platform development, updated coverage of Swing user interface development, and much more. Best of all, this new Sixth Edition delivers even more of the robust, real-world programs previous editions are famous for—updated to reflect the latest SDK features and improvements!

State-of-the-art information for Java platform developers, including:

  • Swing GUI development—including input validation and other enhancements
  • Building reliable code—including chained exceptions, stack frames, assertions, and logging
  • The high-performance New I/O API: memory-mapped files, file locking, and character set encoders/decoders
  • Regular expressions using the powerful new java.util.regex package
  • Java 1.4 platform Preference Class: the new cross-platform repository for configuration information
  • Dynamic proxy classes, inner classes, the Java platform event model, streams, file management, and more

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students contact your Pearson Higher Education representative.