Main Page

   
Java™ Tutorial, Third Edition: A Short Course on the Basics, The
By Mary Campione, Kathy Walrath, Alison Huml
   
Publisher : Addison Wesley
Pub Date : December 28, 2000
ISBN : 0-201-70393-9
Pages : 592


"This book stands above the rest because it has been available on the web and read by thousands of Java programmers. The authors have received an enormous amount of feedback about which sections are good and which sections are confusing; the confusing ones have been improved. I doubt that any other Java book has undergone such trial by fire...." -Metroplex Java User Group, www.javamug.org/reviews/

Whether you're taking a class or learning on the job, The Java(TM) Tutorial, Third Edition, is a hands-on guide that lets you quickly become proficient with the Java programming language. Written by members of the Java Software team at Sun Microsystems, the book uses an interactive approach to help you learn the Java platform by example.

Since its first online release in 1995, the material in The Java(TM) Tutorial has been updated continuously to reflect reader feedback and new releases of the Java platform. This third edition has been thoroughly updated to cover v1.3 of the Java Platform, Standard Edition, as well as preceding versions as early as JDK 1.1.

You will find clear explanations of such fundamentals as objects, classes, and data structures. In addition, the book provides introductions to object-oriented programming, applet construction, and user interface design. Other topics include exceptions, I/O, and threads. To help beginners avoid many common mistakes, an entire chapter is devoted to programming problems and their solutions. Convenient summaries at the end of each section are new to this edition. Also new for this edition are "Questions and Exercises" sections to help you practice what you learn.

After working through the lessons in this proven tutorial, you will be well prepared to use the Java programming language in your school or workplace.

   
•  Table of Contents
Java™ Tutorial, Third Edition: A Short Course on the Basics, The
By Mary Campione, Kathy Walrath, Alison Huml
   
Publisher : Addison Wesley
Pub Date : December 28, 2000
ISBN : 0-201-70393-9
Pages : 592
Copyright
    Preface
      Who Should Read This Book?
      How to Use This Book
      Acknowledgments
   
    Dedication
    Chapter 1.  Getting Started
      About the Java Technology
      How Will Java Technology Change My Life?
      First Steps (Win32)
      First Steps (UNIX/Linux)
      First Steps (MacOS)
      A Closer Look at HelloWorld
      Questions and Exercises
      Code Samples
   
    Chapter 2.  Object-Oriented Programming Concepts
      What Is an Object?
      What Is a Message?
      What Is a Class?
      What Is Inheritance?
      What Is an Interface?
      How Do These Concepts Translate into Code?
      Summary
      Questions and Exercises
      Code Samples
   
    Chapter 3.  Language Basics
      Variables
      Operators
      Expressions, Statements, and Blocks
      Control Flow Statements
      Code Samples
   
    Chapter 4.  Object Basics and Simple Data Objects
      The Life Cycle of an Object
      Characters and Strings
      Numbers
      Arrays
      Code Samples
   
    Chapter 5.  Classes and Inheritance
      Creating Classes
      Managing Inheritance
      Implementing Nested Classes
      Code Samples
   
    Chapter 6.  Interfaces and Packages
      Creating and Using Interfaces
      Creating and Using Packages
      Code Samples
   
    Chapter 7.  Handling Errors Using Exceptions
      What Is an Exception?
      The Catch or Specify Requirement
      Catching and Handling Exceptions
      Specifying the Exceptions Thrown by a Method
      How to Throw Exceptions
      Runtime Exceptions—The Controversy
      Advantages of Exceptions
      Summary of Exceptions
      Questions and Exercises
      Code Samples
   
    Chapter 8.  Threads: Doing Two or More Tasks at Once
      What Is a Thread?
      Using the Timer and TimerTask Classes
      Customizing a Thread's run Method
      The Life Cycle of a Thread
      Understanding Thread Priority
      Synchronizing Thread
      Grouping Threads
      Summary of Threads
      Questions and Exercises
      Code Samples
   
    Chapter 9.  I/O: Reading and Writing
      Overview of I/O Streams
      Using the Streams
      Object Serialization
      Working with Random Access Files
      And the Rest…
      Summary of Reading and Writing
      Questions and Exercises
      Code Samples
   
    Chapter 10.  User Interfaces That Swing
      Overview of the Swing API
      Your First Swing Program
      Example Two: SwingApplication
      Example Three: CelsiusConverter
      Example Four: LunarPhases
      Example Five: VoteDialog
      Layout Management
      Threads and Swing
      Visual Index to Swing Components
      Summary
      Questions and Exercises
      Code Samples
   
    Appendix A.  Common Problems and Their Solutions
      Getting Started Problems
      General Programming Problems
      Applet Problems
      User Interface Problems
   
    Appendix B.  Internet-Ready Applets
      Overview of Applets
      AWT Components
      Taking Advantage of the Applet API
      Practical Consideration of Writing Applets
      Finishing an Applet
      Swing-Based Applets
      Code Samples
   
    Appendix C.  Collections
      Introduction
      Interfaces
      Implementations
      Algorithms
      Custom Implementations
      Interoperability
   
    Appendix D.  Deprecated Thread Methods
      Why Is Thread.stop Deprecated?
      Why Are Thread.suspend and Thread.resume Deprecated?
      What about Thread.destroy?
      Why Is Runtime.runFinalizersOnExit Deprecated?
   
    Appendix E.  Reference
      Java Programming Language Keywords
      Operator Precedence
      The <APPLET> Tag
      POSIX Conventions for Command Line Arguments
      Integrated Development Environments
      Path Help