Introduction to Java 8 Programming for Developers New to OO Programming (such as C, Mainframe, 4GL)

Java 8 and OO Programming Essentials is a five-day, hands-on Java training course geared for developers who have little or no prior working knowledge of object-oriented programming languages (such as...

Read More
$2,495 USD GSA  $2,353.15
Course Code TT2120-J8
Duration 5 days
Available Formats Classroom
6119 Reviews star_rate star_rate star_rate star_rate star_half
Course Image

Java 8 and OO Programming Essentials is a five-day, hands-on Java training course geared for developers who have little or no prior working knowledge of object-oriented programming languages (such as those working on (C, COBOL, 4GL, etc.) Throughout the course students learn the best practices for writing great object-oriented programs in Java 8, using sound development techniques, new improved features for better performance, and new capabilities for addressing rapid application development. Special emphasis is placed on object oriented concepts and best practices.

  • This course introduces new features in Java 9 and Java 10, including the Java Modular System and Local Variable Type Inference. Developers leaving this course will be able to participate in projects that are still on Java 8, while they are also ready to move onto projects using Java 10

Skills Gained

Working within in an engaging, hands-on learning environment, guided by our expert team, attendees will learn to:

  • Understand what OO programming is and what the advantages of OO are in today's world
  • Work with objects, classes, and OO implementations
  • Understand the basic concepts of OO such as encapsulation, inheritance, polymorphism, and abstraction
  • Understand not only the fundamentals of the Java language, but also its importance, uses, strengths and weaknesses
  • Understand the basics of the Java language and how it relates to OO programming and the Object Model
  • Learn to use Java exception handling
  • Understand and use classes, inheritance and polymorphism
  • Understand and use collections, generics, autoboxing, and enumerations
  • Become familiar with the concept of functional programming using Lambda Expressions
  • Process large amounts of data using the Stream API introduced in Java 8
  • Discover the new Date/Time API
  • Use the JDBC API for database access
  • ork with annotations
  • Take advantage of the Java tooling that is available with the programming environment being used in the class

Who Can Benefit

Experienced developers with little or no Object-Oriented background

Prerequisites

This is an introductory -level Selenium course, designed for experienced web developers that are familiar with Java, who wish to get up and running on testing web applications. Familiarity with Java is required and real world programming experience is highly recommended. Ideally students should have approximately 6 months to a year of web development working knowledge.

Course Details

Specific Java 8 features that are covered in the course include:

  • The new Date/Time API
  • Lambda Expressions
  • Method and Constructor references
  • The Streams API
  • Collectors
  • The Optional class

Session: Java: A First Look

Lesson: The Java Platform

  • Java Platforms
  • Lifecycle of a Java Program
  • Responsibilities of JVM
  • Documentation and Code Reuse

Lesson: Using the JDK

  • Setting Up Environment
  • Locating Class Files
  • Compiling Package Classes
  • Source and Class Files
  • Java Applications
  • Exercise: Exploring MemoryViewer
  • Exercise: Exploring ColorPicker

Lesson: The Eclipse Paradigm

  • Workbench and Workspace
  • Views
  • Editors
  • Perspectives
  • Projects
  • Tutorial: Working with Eclipse

Lesson: Writing a Simple Class

  • Classes in Java
  • Class Modifiers and Types
  • Class Instance Variables
  • Primitives vs. Object References
  • Creating Objects
  • Exercise: Create a Simple Class

Session: OO Concepts

Lesson: Object-Oriented Programming

  • Real-World Objects
  • Classes and Objects
  • Object Behavior
  • Methods and Messages
  • Exercise: Define and use a New Java class

Lesson: Inheritance, Abstraction, and Polymorphism

  • Encapsulation
  • Inheritance
  • Method Overriding
  • Polymorphism
  • Exercise: Define and use Another Java Class

Session: Getting Started with Java

Lesson: Adding Methods to the Class

  • Passing Parameters into Methods
  • Returning a Value from a Method
  • Overloaded Methods
  • Constructors
  • Optimizing Constructor Usage
  • Exercise: Create a Class with Methods

Lesson: Language Statements

  • Operators
  • Comparison and Logical Operators
  • Looping
  • Continue and Break Statements
  • The switch Statement
  • The for-each() Loop
  • Exercise: Looping
  • Exercise: Language Statements

Lesson: Using Strings

  • Strings
  • String Methods
  • String Equality
  • StringBuffer
  • StringBuilder
  • Exercise: Fun with Strings
  • Exercise: Using StringBuffers and StringBuilders

Lesson: Specializing in a Subclass

  • Extending a Class
  • Casting
  • The Object Class
  • Default Constructor
  • Implicit Constructor Chaining
  • Exercise: Creating Subclasses
  • Exercise: Defining the Student Subclass

Session: Essential Java Programming

Lesson: Fields and Variables

  • Instance vs. Local Variables: Usage Differences
  • Data Types
  • Default Values
  • Block Scoping Rules
  • Final and Static Fields
  • Static Methods
  • Exercise: Field Test

Lesson: Using Arrays

  • Arrays
  • Accessing the Array
  • Multidimensional Arrays
  • Copying Arrays
  • Variable Arguments
  • Exercise: Creating an Array
  • Exercise: Defining the Student Array

Lesson: Java Packages and Visibility

  • Class Location of Packages
  • The Package Keyword
  • Importing Classes
  • Executing Programs
  • Java Naming Conventions

Session: Advanced Java Programming

Lesson: Inheritance and Polymorphism

  • Polymorphism: The Subclasses
  • Upcasting vs. Downcasting
  • Calling Superclass Methods From Subclass
  • The final Keyword
  • Exercise: Salaries - Polymorphism

Lesson: Interfaces and Abstract Classes

  • Separating Capability from Implementation
  • Abstract Classes
  • Implementing an Interface
  • Abstract Classes vs. Interfaces
  • Exercise: Mailable - Interfaces

Lesson: Exceptions

  • Exception Architecture
  • Handling Multiple Exceptions
  • Automatic Closure of Resources
  • Creating Your Own Exceptions
  • Throwing Exceptions
  • Checked vs. Unchecked Exceptions
  • Exercise: Exceptions

Session: Java Developer's Toolbox

Lesson: Utility Classes

  • Wrapper Classes
  • The Number Class
  • Random Numbers
  • Autoboxing/Unboxing
  • The Date Class
  • Exercise: Using Primitive Wrappers

Lesson: Enumerations and Static Imports

  • Enumeration Syntax
  • When You Should Use Enumerations
  • Using Static Imports
  • When You Should Use Static Imports
  • Exercise: Enumerations

Lesson: The new Date/Time API

  • Introduce the new Date/Time API
  • LocalDate, LocalDateTime, etc.
  • Formatting Dates
  • Working with time zones
  • Manipulate date/time values
  • Exercise: Agenda

Lesson: Formatting Strings

  • StringJoiner
  • String.format
  • System.out.printf
  • The Formatter class
  • Using the formatting syntax

Session: Collections and Generics

Lesson: Introduction to Generics

  • Generics and Subtyping
  • Bounded Wildcards
  • Generic Methods
  • Legacy Calls To Generics
  • When Generics Should Be Used
  • Exercise: DynamicArray
  • Exercise: Adding Generics to Dynamic Array

Lesson: Collections

  • Characterizing Collections
  • Collection Interface Hierarchy
  • Iterators
  • The Set Interface
  • The List Interface
  • Queue Interface
  • Map Interfaces
  • Using the Right Collection
  • Collections and Multithreading
  • Exercise: Using Hashtable and HashMap
  • Exercise: Collections Poker
  • Exercise: Writing a Collection

Session: Lambda Expressions; Collections and Streams

Lesson: Introduction to Lambda Expressions

  • Functional vs OO Programming
  • Anonymous Inner-classes
  • Lambda Expression Syntax
  • Functional Interfaces
  • Method references
  • Constructor references

Lesson: Java 8 Collection Updates

  • Introduce the ConcurrentHashMap
  • Lambda expressions and Collections
  • Exercise: Functional Collections

Lesson: Streams

  • Processing Collections of data
  • The Stream interface
  • Reduction and Parallelism
  • Filtering collection data
  • Sorting Collection data
  • Map collection data
  • Find elements in Stream
  • Numeric Streams
  • Create infinite Streams
  • Sources for using Streams
  • Exercise: Working with Streams

Lesson: Collectors

  • Creating Collections from a Stream
  • Group elements in the Stream
  • Multi-level grouping of elements
  • Partitioning Streams
  • Exercise: Collecting

Session: Java Application Development

Lesson: Introduction to Annotations

  • Annotations Overview
  • Working with Java Annotations
  • Exercise: Annotations
  • Exercise: Using Annotations

Lesson: Java Data Access JDBC API

  • Connecting to the Database
  • Statement and PreparedStatement
  • ResultSet
  • Executing Inserts, Updates, and Deletes
  • Controlling Transactions and Concurrency
  • Tutorial: Setup The Derby Database
  • Exercise: Reading Table Data
  • Exercise: Using JdbcRowSet
  • Exercise: Executing within a Transaction
Contact Us 1-800-803-3948
Contact Us
FAQ Get immediate answers to our most frequently asked qestions. View FAQs arrow_forward