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 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 Garbage Collection
o Abstraction
o Object References
o Review Questions
Packages and Access Modifiers
o Introduction to Packages and Access
o Modifiers
o Packages
o Access Modifiers
o Encapsulation
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
Swing Components
o What Is the AWT?
o What Is Swing?
o Swing Containers
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 Event Handling
o SDK Event Handling
o Review Questions
Inner Classes
o What Is an Inner Class?
o Inner Classes for Event Handling
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
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
Introduction to Threads
o Non-Threaded Applications
o Threaded Applications
o Creating Threads
o Thread States
o Runnable Threads
o Coordinating Threads
o Interrupting Threads
o Runnable Interface
o ThreadGroups
o Review Questions
Thread Synchronization and Concurrency
o Race Conditions
o Synchronized Methods
o Deadlocks
o Synchronized Blocks
o Thread Communication — wait()
o Thread Communication — notify()
Introduction to JDBC
o The JDBC Connectivity Model
o Database Programming
o Connecting to the Database
o Finishing Up
o Review Questions
JDBC SQL Programming
o Error Checking and the
o SQLException Class
o The SQLWarning Class
o The Statement Interface
o The ResultSet Interface
o Creating a SQL Query
o Getting the Results
o Updating Database Data
o Executing SQL Queries
o ResultSetMetaData
o Executing SQL Updates
o Review Questions
Advanced JDBC
o Using a PreparedStatement
o Parameterized Statements
o The execute() Method
Streams
o What Is a Stream?
o InputStream, OutputStream, Reader and Writer
o Files
o Stream Classes of java.io.*
o Review Questions
o Communication Using I/O
o Servers
o The ServerSocket Class
o Concurrent Servers
o The URL Class
o The URLConnection Class
o Review Questions
o exception handling
Applications