This book has been moved to my own domain now: herongyang.com. Please click the following button to open it in a new window:

If your browser does not support popups, please copy this URL to the address field and press the Enter key: http://www.herongyang.com/java

Thank you for your visiting!

-- Herong

Herong's Tutorial Notes On Java
Version 4.01
Dr. Herong Yang

Table of Contents

About This Book

Installing J2SDK 1.4.1 on Windows 2000

  • Download J2SDK 1.4.1_01
  • First Java Program

Execution Of Java Programs

  • Execution Process
  • Execution Entry Point
  • Execution Console

Execution Environment

  • System Properties
  • Non-system Properties
  • The Runtime Instance
  • Free Memory
  • Calculating Memory Usage of an Array
  • Executing Operating System Commands

Threads

  • What Is a Thread
  • Creating Java Threads
  • Using Runnable Interface
  • CPU Time Sharing
  • Sharing Data
  • Terminating Threads

Thread Groups

  • ThreadGroup Class
  • The ThreadGroup Tree
  • Grouping Threads
  • Memory Leak With Unstarted Threads

Synchronization

  • Why Synchronization
  • What Is Synchronization
  • Synchronization Support in Java
  • Synchronization Sample Program

Deadlock

  • What Is Deadlock
  • 5 Dining Philosophers
  • Deadlock Sample Program - Transferring Funds

References

Key Words: book, console, deadlock, example, J2SDK, Java, JDK, JVM, main, memory, online, synchronization, syntax, thread, tutorial

1