1: A First Look
A Simple Java Class
Java’s “Hello World” Program
LABS:
Hello World: A Simple Application
2: Java Basics
Language and Platform Features
Program Life Cycle
The Java SE Development Kit (JDK)
LABS:
Working with the Development Environment
3: Class and Object Basics
The Object Model and Object-Oriented Programming
Classes, References, and Instantiation
Adding Data to a Class Definition
Adding Methods (Behavior)
LABS:
Exploring Types and Object Instances
Writing and Using a Class Definition with Fields and Methods
4: More on Classes and Objects
Accessing data, the "this" variable
Encapsulation and Access Control, public and private Access
Constructors and Initialization
static Members of a Class
Scopes, Blocks, References to Objects
LABS:
Encapsulation / Access Protection
Writing and Using Constructors
(Optional) Static Members
Using the Debugger
5: Flow of Control
Branching: if, if-else, switch
Iteration: while, do-while, for, break, continue
LABS:
Flow of Control / Data Validation
6: Strings and Arrays
String, StringBuffer, StringBuilder
Arrays, Primitive Arrays, Arrays of Reference Types
varargs
LABS:
Using Strings and Arrays
7. Packages
Package Overview - Using Packages to Organize Code
import statements
Creating Packages, package Statement, Required Directory Structure
Finding Classes, Packages and Classpath
LABS:
Using Packages to Organize Code
Session 8: Composition and Inheritance
Using Composition to Deal With Complexity
Composition/HAS-A, Delegation
Using Inheritance and Polymorphism to share commonality
IS-A, extends, Inheriting Features, Overriding Methods, Using Polymorphism
Class Object
Abstract Classes
LABS:
(Optional) Working with Composition
Using Inheritance to Specialize Classes
Session 9: Interfaces Overview
Using Interfaces to Define Types
Interfaces and Abstract Classes
Session 10: Exceptions
Exceptions and the Exception Hierarchy
try and catch
Handling Exceptions
Program Flow with Exceptions
finally
LABS:
Throwing and Handling Exceptions
Session 11: JDBC
JDBC basics
JDBC Architecture
Using JDBC drivers & DriverManager
Class Connection and connecting to a database
Class Statement and executing SQL statements
Other statement types
LABS:
Connecting and Querying using JDBC
Session 12: Java Collections and Generics
The Collections Framework and its API
Collections and Java Generics
Collection, Set, List, Iterator
Autoboxing
for-each Loop
LABS:
Using Lists and Generics
Session 13: Additional Java Features
Type-safe Enums
Additional Features in Java 6 and Java 7