Learning Patterns Your Source for Quality Technology Courseware

Fast Track to Java 25 and OO Development

Java 25 added a number of capabilities targeting ease of use, especially for those new to Java. Fast Track to Java and OO Development provides a comprehensive introduction to Java using these new capabilities. It is suitable for programmers with good working programming experience (no Java experience needed). It can be taught to audiences with less experience by reducing coverage of the optional, more advanced, topics.

In addition to covering basic Java programming, the course provides a solid understanding of the core OO and Java concepts and practices needed to create well-designed Java programs. This includes creating well-designed Java classes, encapsulation, composition, and inheritance/interfaces. It also covers details of the Java release cycle, and Long Term Support (LTS) releases.

The material and labs include some coverage of useful advanced and new Java capabilities such as the Java module structure, Java records, and other recent features and API enhancements. It also introduces important APIs such as the Java Collections Framework and the Date/Time API.

This course is suitable for environments using Java 25. It covers the many new features of Java 25 that make it easier for new users to learn it, as well as more advanced features that support creating cleaner and more compact code.

Be prepared to work hard and learn a great deal! The course can be held on-site & customized to fit your needs.

Course Information:

Availability: NEW

Course Code: FTJ25

Price: $ 150

Duration: 5 days

Labs: many hands-on labs (minimum 50% of course)

Prerequisites: Working knowledge of some programming language - no Java experience needed

Supported Software Environments:

  • Standard: Java 25 and Eclipse
  • Standard: Java 25 and IntelliJ
(Non-standard software may require additional wait and incur additional charges.)

Course Objectives:

  • Understand Java’s importance, uses, strengths and weaknesses
  • Understand the release cycle and Long Term Support (LTS) releases
  • Understand Java language basics, including the easy-to-use compact source files, instance main() methods, and IO class (Java 25+)
  • Use the JDK and Integrated Development Environment (IDE) to write/compile/run Java programs
  • Learn good Java coding style and create well designed Java classes and Java programs
  • Understand the Object Model and Object Oriented Programming
  • Understand and use classes, inheritance, polymorphism
  • Use composition and delegation to create objects from other objects
  • Understand & use packages to organize code
  • Understand and use Java modules at a basic level
  • Understand interfaces and their importance, and use them to implement abstraction
  • Understand & use exceptions for error handling
  • Use the core Java libraries (java.lang, java.util)
  • Use the Java Collections Framework including the later API additions
  • Use other new features or important features such as type inference
  • Be familiar with using the Java shell (JShell) for interactive programming
  • Gain a high level understanding of using JDBC and JPA to access databases from Java (Optional)
  • Understand and use basic I/O streams (Optional)

Course Outline:

  • Session 1: Java Overview
    • Language and Platform Features
    • A Simple Java Program - instance main(), IO Class
    • The Java Release Cycle
    • Program Lifecycle
    • The Java SE Development Kit (JDK)
    • LABS:
      • The Java Documentation
      • Hello World: A Simple Application
      • Using javac and java
  • Session 2: 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
      • Introducing your IDE
      • Writing and Using a Class Definition with Fields and Methods
  • Session 3: Classes and Objects in Detail
    • More about Methods
    • Encapsulation and Access Control, public and private Access
    • Constructors, Initialization, Flexible Constructor Bodies (25+)
    • static Members of a Class
    • Type-safe Enums
    • LABS:
      • Accessor Methods
      • Encapsulation / Access Protection
      • Writing and Using Constructors
      • (Optional) Static Members
      • Using Enums
  • Session 4: Flow of Control
    • Branching: if, if-else
    • Switch Statement and Switch Expressions
    • [Optional] Pattern Matching with Switch
    • Iteration: while, do-while, for, break, continue
    • LABS:
      • Data Validation with If
      • Using Switch Statement and Expressions
  • Session 5: More about Classes and Objects
    • equals() and hashCode()
    • Record Classes
    • Wrapper Classes
    • Java 8+ Date/Time Support
    • Working with References
    • Formatted Output
    • LABS:
      • Importance of hashCode()
      • Record Classes
      • Working with Dates and Times
      • Formatted Output
      • [Optional] Using the Debugger
  • Session 6: Strings, Arrays, and Dates/Times
    • String, StringBuffer, StringBuilder, Text Blocks, String Templates
    • Arrays, Primitive Arrays, Arrays of Reference Types
    • varargs
    • Revisiting main() Arguments and Signature
    • LABS:
      • Using Strings and Arrays
  • Session 7: Packages and Modules
    • Package Overview - Using Packages to Organize Code
    • Creating Packages, package Statement, Required Directory Structure
    • import statements
    • Classpath
    • Java Modules Overview
    • Defining Modules, Requires, and Exports
    • Module Path and Classpath - Differences and Coexistence
    • LABS:
      • Using Packages
      • [Optional] Using Java Modules
  • Session 8: Composition and Inheritance
    • Using Composition to Deal With Complexity
    • Composition/HAS-A, Delegation
    • Using Inheritance to share commonality
    • IS-A, extends Inheriting Features
    • Constructor Chaining and Constructor Issues
    • Overriding Methods, @Override, Using Polymorphism
    • Abstract Classes
    • [Optional] Sealed Classes
    • [Optional] Sealed Classes
    • LABS:
      • Working with Composition
      • Using Inheritance
      • Polymorphism
      • [Optional] Abstract Classes
  • Session 9: Interfaces
    • Defining and Implementing Interfaces
    • Using Interfaces
    • Default Methods and static Methods
    • LABS:
      • Using Interfaces to Remove Implementation Dependencies
      • [Optional] Using Default and Static Methods
  • Session 10: Exceptions
    • Exceptions and the Exception Hierarchy
    • Throwing Exceptions and Checked Exceptions
    • try and catch
    • Handling Exceptions
    • try and catch
    • Program Flow with Exceptions
    • Multicatch, finally, try-with-resources
    • LABS:
      • Throwing Exceptions
      • Checked Exceptions
  • Session 11: Java Collections and Generics
    • The Collections Framework and its API
    • Collections and Java Generics
    • Collection, SequencedCollection, List, Set, Map
    • Autoboxing
    • Collections of Object (non-generic)
    • Using ArrayList, HashSet, and HashMap
    • for-each Loop
    • Processing Items With an Iterator
    • [Optional] More About Generics
    • LABS:
      • Using Collections and Generics
  • Session 12: Overview of JDBC and JPA for DB Access (Optional)
    • JDBC Overview
    • JDBC Defined Types
    • Example of JBDC Usage
    • JPA High Level Overview
    • Mapping JPA Entities
    • Using JPA
    • LABS:
      • Accessing a Database with JDBC (Demo)
      • Reviewing JPA (Code Review Only)
  • Session 13: Additional Language Features (Optional)
    • Functional Interfaces and Lambda Expressions
    • Garbage Collection and Collectors
    • Other Java Features
    • LABS:
      • Working with Lambdas (Demo)
  • Session 14: I/O Streams (Optional)
    • I/O Streams Overview
    • Readers and Writers
    • Exception Handling
    • Byte Streams
    • Working with Files
    • NIO, Paths, Files
    • LABS:
      • Reading and Writing Files
      • Using Byte Streams (Optional)