|
|
|
Professional Quality InstructionAdvanced Java Programming Outline
Overview of Java
History
of Language
Java Releases
Major Goals of Java
Definition of Java
Java Platform
The Java Virtual Machine
Java Program Structure
Comments
Program Structure
Class Definition
The main() Method
Program Statements
Java Keywords
Variables
Java Primitive Data Types
Integral Types
Floating-Point Types
Boolean Types
Char Types
Java Source
Files
Source File Layout
Package Statement
Import Statement
Packages
Directory Layout
Organizing Packages
Default Package
Locating Packages
Deployment of Java Programs
ext Directory
jre Directory
Coding Conventions
Class Names
Instance Variable Names
Method Names
Class Relationships
The use Relationship
The is-a Relationship
The kind-of Relationship
Inheritance
Motivation for Use
Designing in Relatedness
Deriving a Class
Single Inheritance
Subclass Constructor
Accessing Superclass Methods
Information Hiding
Protected Access
Method Overloading
Overloading Constructors
Method Overriding
Dynamic
Method Dispatch
Abstract Classes
Motivation for Use
Abstract Methods
Concrete Data and
Methods
Determining Class Identity
The instanceof Operator
Casting Objects
The Object Class
Determining Equality
The toString() Method
Wrapper Classes
Motivation for Use
Common Methods
Converting to Strings
Converting to Numbers
Interfaces
Motivation for Use
Multiple Inheritance
and Interfaces
Defining an Interface
The interface Definition
Implementing an Interface
Dynamic Binding and
Interfaces
Interfaces vs Inheritance
Abstract Classes
and Interfaces
Exception Handling
Processing Run-time
Anomalies
Common Exceptions
Classification of
Exceptions
Runtime Exception
Errors
The Exception Hierarchy
Try Blocks
Catch Handlers
Throwing an Exception
The finally Statement
Handle or Declare
Rule
Exceptions and Method
Overriding
Obtaining File Information
Obtaining File Attribute
Information
Commonly Used File
Methods
File Objects and
Directories
Using Streams
Motivation
for Use
Partial Stream Class
Hierarchy
Reading
and Writing Bytes
The System Class
Writing Bytes to
a File
Writing
Formatted Data
Creating a DataOutputStream
Reading Formatted
Data
Creating a DataInputStream
The EOFException
Reader and Writer
Classes
Reading Text Input
Writing Text Output
The BufferedReader
Class
String Tokenizers
Abstract Windows Toolkit
Motivation for Use
Components
Containers
Frames
Adapters
Using Container Methods
Using Component Methods
Creating a Checkbox
Creating a CheckboxGroup
Using the Choice
Class
Using a List
Using Swing Components
Using Layout Managers
Using Panels
Using Events, Listeners
and Handlers