Java Programming


Course Description

Intensive and hands-on, the course emphasizes becoming productive quickly as a Java™ application developer. This course quickly covers the Java language syntax and then moves into the object-oriented features of the language. Students will then use several of the provided API packages, such as I/O streams, collections, and accessing a database with JDBC. This course can be delivered using any required version of Java and IDE - Eclipse, IntelliJ etc.

Duration: 5 days


Prerequisites

Professional programming experience in another language would be beneficial.

Course Introduction

Course Objectives
Course Overview
Using the Workbook
Suggested References

Getting Started with Java

What is Java?
How to Get Java
A First Java Program
Compiling and Interpreting Applications
The JSDK Directory Structure

Eclipse

Introduction to Eclipse
Installing Eclipse
Running Eclipse for the First Time
Editors, Views, and Perspectives
Setting up a Project
Creating a New Java Application
Running a Java Application
Debugging a Java Application
Importing Existing Java Code into Eclipse

Language Fundamentals

A Java Program
If Statements
Switch Statements
Loop Statements
Syntax Details
Primitive Datatypes
Variables
Expressions in Java
Strings
Arrays
Enhanced for Loop

Objects and Classes

Defining a Class
Creating an Object
Instance Data and Class Data
Methods
Constructors
Access Modifiers
Encapsulation

Using Java Objects

Printing to the Console
printf Format Strings
StringBuilder and StringBuffer
Methods and Messages
toString
Parameter Passing
Comparing and Identifying Objects
Destroying Objects
The Primitive-Type Wrapper Classes
Enumerated Types

Inheritance in Java

Inheritance
Inheritance in Java
Casting
Method Overriding
Polymorphism
super
The Object Class

Advanced Inheritance and Generics

Abstract Classes
Interfaces
Using Interfaces
Collections
Generics
Comparable

Packages

Packages
The import Statement
Static Imports
CLASSPATH and Import
Defining Packages
Package Scope

Exception Handling

Exceptions Overview
Catching Exceptions
The finally Block
Exception Methods
Declaring Exceptions
Defining and Throwing Exceptions
Errors and RuntimeExceptions

Input/Output Streams

Overview of Streams
Bytes vs. Characters
Converting Byte Streams to Character Streams
File Object
Binary Input and Output
PrintWriter Class
Reading and Writing Objects
Closing Streams

Core Collection Classes

The Collections Framework
The Set Interface
Set Implementation Classes
The List Interface
List Implementation Classes
The Queue Interface
Queue Implementation Classes
The Map Interface
Map Implementation Classes

Collection Sorting and Tuning

Sorting with Comparable
Sorting with Comparator
Sorting Lists and Arrays
Collections Utility Methods
Tuning ArrayList
Tuning HashMap and HashSet

Inner Classes

Inner Classes
Member Classes
Local Classes
Anonymous Classes
Instance Initializers
Static Nested Classes

Introduction to JDBC

The JDBC Connectivity Model
Database Programming
Connecting to the Database
Creating a SQL Query
Getting the Results
Updating Database Data
Finishing Up

JDBC SQL Programming

Error Checking and the SQLException Class
The SQLWarning Class
JDBC Types
Executing SQL Queries
ResultSetMetaData
Executing SQL Updates
Using a PreparedStatement
Parameterized Statements
Stored Procedures
Transaction Management


Schedule

NameDateLocation 
Java Programming 2024-10-14 Online
Java Programming 2025-03-24 Online

Java eclipse Java 8 Java 9 Java 11 Java 13 IntelliJ Java programming Java 17 OOP Object Oriented Programming