Fast Track to Java and OO Development provides a comprehensive introduction to Java. 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.
Course Outline
Session 1: A First Look
- A Simple Java Class
- Java’s “Hello World” Program
- The Java Shell (REPL)
- LABS:
- Hello World: A Simple Application
Session 2: Java Basics
- Language and Platform Features
- The Java Release Cycle
- Program Life Cycle
- The Java SE Development Kit (JDK)
- LABS:
- Working with the Development Environment
Session 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
Session 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
- Type Inference (Java 10+)
- Scopes, Blocks, References to Objects
- Type-safe Enums
- LABS:
- Encapsulation / Access Protection
- Writing and Using Constructors
- (Optional) Static Members
- Using enums
- Using the Debugger
Session 5: Flow of Control
- Branching: if, if-else, switch
- Iteration: while, do-while, for, break, continue
- LABS:
- Flow of Control / Data Validation
Session 6: Strings, Arrays, and Dates/Times
- String, StringBuffer, StringBuilder
- Arrays, Primitive Arrays, Arrays of Reference Types
- varargs
- LocalDate/LocalTime (Java 8+)
- LABS:
Session 7: Packages and Modules
- Package Overview - Using Packages to Organize Code
- import statements
- Creating Packages, package Statement, Required Directory Structure
- Java 9 Module Overview
- Defining Modules, Requires, and Exports
- Module Path and Classpath - Differences and Coexistence
- LABS:
- Using Packages and Modules
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
- Using Interfaces to Define Types
- Interfaces and Abstract Classes
- Default Methods and static Methods (Java 8)
- LABS:
- Using Interfaces to Remove Implementation Dependencies
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: Java Collections and Generics
- The Collections Framework and its API
- Collections and Java Generics
- Collection, Set, List, Map, Iterator
- Autoboxing
- Collections of Object (non-generic)
- Using ArrayList, HashSet, and HashMap
- for-each Loop
- Processing Items With an Iterator
- More About Generics
- LABS:
- Using Lists and Generics
- Using Sets
Session 12: Database Access with JDBC and JPA
- li>JDBC Overview
- JDBC Architecture and API
- Using DriverManager, Connection, Statement and ResultSet
- JPA Overview
- JPA Architecture and Programming View
- Entity Classes and Annotations
- Mapping an Entity Class
- EntityManagerFactory and EntityManager
- Working with JPA (Find by primayry key and inserts)
- LABS:
- Mapping an Entity Class
- Working with JPA
Session 13: Additional Java Features
- Annotations
- Lambda Expressions and Method References (Java 8+)
- Additional Features
- Session 14: I/O Streams (Optional)
- Readers and Writers
- Filter Streams
- Byte Streams
- Formatted Output
- The File Class
- New I/O (NIO) APIs
- LABS:
HSG courses are taught by the experienced instructors who are proven experts in their field. Our instructors are highly knowledgeable, friendly, reliable and inspiring. They speak and teach industry's best practices and often customize classes to meet individual needs.
Students are encouraged to ask questions and participate in discussions and training-labs.