Java Runtime Environment
o The Java Virtual Machine
o The Java 2 Software Development Kit
o Java Comments
o Review Questions
Data Types, Variables and Operators
o Data Types
o Declaring Variables
o Variable Scope
o Casting
o Operators
o Automatic Casting
o Review Questions
Control Statements
o Code Blocks
o Conditional Statements
o Iteration Statements (Loops)
o Review Questions
Methods
o Java Methods
o Return Statement
o Calling a Method
o Parameters
o Pass by Value
o Overloading
o Review Questions
Arrays
o What Is an Array?
o Initializing an Array
o Objects
o Using an Array
o Passing an Array to a Method
o Garbage Collection
o Command Line Parameters
o Review Questions
Classes and Objects
o Object-Oriented Programming
o What Is a Class?
o What Is an Object?
o Instance and Class Members
o Abstraction
o Object References
o Review Questions
Inheritance
o What Is Inheritance?
o Overriding Methods
o Overriding Methods and Variables
o Review Questions
Constructors
o What Is a Constructor?
o Using Constructors
o The Keyword this
o Constructor Process
o Constructors and Callbacks
o Strings and StringBuffer
o Review Questions
Interfaces and Abstract Classes
o What Is an Interface?
o Polymorphism
o What Is an Abstract Class?
o Review Questions
Packages and Access Modifiers
o Introduction to Packages and Access Modifiers
o Packages
o Access Modifiers
o Java 2 Application Programming Interface
o Encapsulation
o Review Questions
Swing Components
o What Is the AWT?
o What Is Swing?
o Swing Containers
o JavaBeans
o Review Questions
Layout Managers
o What Is a Layout Manager?
o FlowLayout
o GridLayout
o BorderLayout
o BoxLayout
o Combining Layouts
o Review Questions
Graphics
o Graphics Class
o Color Class
o Font Class
o Review Questions
The Delegation Model
o What Is an Event?
o JDK 1.0 Event Handling
o SDK 1.2 Event Handling
o Review Questions
Inner Classes
o What Is an Inner Class?
o Inner Classes for Event Handling
o Review Questions
Applets
o Programming Applets
o Applets and Web Browsers
o Converting an Application into an Applet
o Converting an Applet into an Application
o Review Questions
Exceptions
o What Is an Exception?
o Handling Exceptions
o Creating User-Defined Exceptions
o Exception Handling Tips
o Exceptions and Inheritance
o Review Questions
Creating Threads and Thread Methods
o What Are Threads?
o How Operating Systems Handle Multitasking
o Types of Threads in Java
o Creating Threads
o Thread Methods
o Review Questions
Synchronization
o What Is Thread Synchronization?
o Thread Racing
o Synchronized and the Object Monitor
o Thread Race Condition
o Sophisticated Thread Synchronization
o Stopping, Suspending and Resuming Threads
o Deadlocks
o Review Questions
Streams and Serialization
o What Is a Stream?
o InputStream, OutputStream, Reader and Writer
o Files
o Stream Classes of java.io.*
o Serialization
o Graduating Task: Building a simple word processor
o Review Questions
Networking
o What Is Networking?
o Connecting Computers Across the Internet
o Networking Classes of java.net.*
o The Java Client/Server Model
o Building the EchoServer
o Multithreading Your Client/Server Example
o Final Project: Building a client/server chat system
o Review Questions