Course Overview
Coming from C, COBOL or other Non-OO Language? Gain the Skills Needed to Start Writing Solid Object-Oriented Applications in Java.
Basic Java 11 and OO Prorgramming Essentials for Developers New to OO 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 10, 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 explores several items introduced in Java 9, Java 10 and Java 11 including the Java Modular System, Local Variable Type Inference, the HTTPClient API and several API updates. Developers leaving this course will be able to work on Java 8 projects while they are also ready to move onto projects using Java 11. This course also includes a Quick Look at what’s next in Java – Java 12, Java13, Java 14 and beyond.
This “skills-centric” course is about 50% hands-on lab and 50% lecture, designed to train attendees in core OO coding and Java development skills, coupling the most current, effective techniques with the soundest industry practices.
NOTE: This course is offered for Java 8, Java 11 (for Java 9 to 11) LTS editions, or most current (12+). Please inquire for details.
What you’ll learn
- 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
- Work with the Modular system (Project Jigsaw)
- Understand and use classes, inheritance and polymorphism
- Understand and use collections, generics, autoboxing, and enumerations
- Process large amount of data using Lambda expressions and the Stream API
- Abstract, static and private methods in interfaces
- Take advantage of the Java tooling that is available with the programming environment being used in the class
- Java 11 features covered: Using the Local Variable Type in Lambda expressions; Updates made to the String API
Target audiences
- This is a basic-level programming course designed for attendees with prior development experience in another language, such as COBOL, 4GL, Mainframe or other non-object-oriented languages. This course is not geared for non-developers. This course is for experienced developers with little to no prior OO development experience, such as C or COBOL programmers.
Curriculum
- 11 Sections
- 30 Lessons
- 5 Days
- Session: Java: A First Look The Java Platform3
- 1.1Java Platforms Lifecycle of a Java Program Responsibilities of JVM Documentation and Code Reuse Java Platforms Lifecycle of a Java Program Responsibilities of JVM Documentation and Code Reuse
- 1.2Using the JDK Setting Up Environment Locating Class Files Compiling Package Classes Source and Class Files Java Applications Setting Up Environment Locating Class Files Compiling Package Classes Source and Class Files Java Applications
- 1.3The Eclipse Paradigm Workbench and Workspace Views Editors Perspectives Projects Workbench and Workspace Views Editors Perspectives Projects
- Session: Getting Started with Java Writing a Simple Class2
- 2.1Classes in Java Class Modifiers and Types Class Instance Variables Primitives vs. Object References Creating Objects Classes in Java Class Modifiers and Types Class Instance Variables Primitives vs. Object References Creating Objects
- 2.2Adding Methods to the Class Passing Parameters Into Methods Returning a Value From a Method Overloaded Methods Constructors Optimizing Constructor Usage Passing Parameters Into Methods Returning a Value From a Method Overloaded Methods Constructors Optimizing Constructor Usage
- Session: OO Concepts Object-Oriented Programming2
- 3.1Real-World Objects Classes and Objects Object Behavior Methods and Messages Real-World Objects Classes and Objects Object Behavior Methods and Messages
- 3.2Inheritance, Abstraction, and Polymorphism Encapsulation Inheritance Method Overriding Polymorphism Encapsulation Inheritance Method Overriding Polymorphism
- Session: Essential Java Programming Language Statements7
- 4.1Operators Comparison and Logical Operators Looping Continue and Break Statements The switch Statement The for-each() Loop Operators Comparison and Logical Operators Looping Continue and Break Statements The switch Statement The for-each() Loop
- 4.2Using Strings Create an instance of the String class Test if two strings are equal Get the length of a string Parse a string for its token components Perform a case-insensitive equality test Build up a string using StringBuffer Contrast String, StringBuffer, and StringBuilder Create an instance of the String class Test if two strings are equal Get the length of a string Parse a string for its token components Perform a case-insensitive equality test Build up a string using StringBuffer Contrast String, StringBuffer, and StringBuilder
- 4.3Specializing in a Subclass Extending a Class Casting The Object Class Default Constructor Implicit Constructor Chaining Extending a Class Casting The Object Class Default Constructor Implicit Constructor Chaining
- 4.4Fields and Variables Instance vs. Local Variables: Usage Differences Data Types Default Values Block Scoping Rules Final and Static Fields Static Methods Instance vs. Local Variables: Usage Differences Data Types Default Values Block Scoping Rules Final and Static Fields Static Methods
- 4.5Using Arrays Arrays Accessing the Array Multidimensional Arrays Copying Arrays Variable Arguments Arrays Accessing the Array Multidimensional Arrays Copying Arrays Variable Arguments
- 4.6Local-Variable Type Inference Type inference Infering Types of Local Variables The var Reserved Type name Benefits of Using var Backward Compatibilty Type inference Infering Types of Local Variables The var Reserved Type name Benefits of Using var Backward Compatibilty
- 4.7Java Packages and Visibility Class Location of Packages The Package Keyword Importing Classes Executing Programs Visibility in the Modular System Java Naming Conventions Class Location of Packages The Package Keyword Importing Classes Executing Programs Visibility in the Modular System Java Naming Conventions
- Session: Object Oriented Development Inheritance and Polymorphism2
- 5.1Polymorphism: The Subclasses Upcasting vs. Downcasting Calling Superclass Methods From Subclass The final Keyword Polymorphism: The Subclasses Upcasting vs. Downcasting Calling Superclass Methods From Subclass The final Keyword
- 5.2Interfaces and Abstract Classes Separating Capability from Implementation Abstract Classes Implementing an Interface Abstract Classes vs. Interfaces Separating Capability from Implementation Abstract Classes Implementing an Interface Abstract Classes vs. Interfaces
- Session: Exception Handling Introduction to Exception Handling2
- 6.1Exception Architecture Throwing Exceptions Checked vs. Unchecked Exceptions Exception Architecture Throwing Exceptions Checked vs. Unchecked Exceptions
- 6.2Exceptions Handling Multiple Exceptions Automatic Closure of Resources Creating Your Own Exceptions Handling Multiple Exceptions Automatic Closure of Resources Creating Your Own Exceptions
- Session: Java Developer's Toolbox Utility Classes2
- 7.1Wrapper Classes Autoboxing/Unboxing Enumeration Syntax Using Static imports Wrapper Classes Autoboxing/Unboxing Enumeration Syntax Using Static imports
- 7.2Java Date/Time The Date and Calendar classes Introduce the new Date/Time API LocalDate, LocalDateTime, etc. Formatting Dates Working with time zones Manipulate date/time values The Date and Calendar classes Introduce the new Date/Time API LocalDate, LocalDateTime, etc. Formatting Dates Working with time zones Manipulate date/time values
- Session: Advanced Java Programming Introduction to Generics2
- 8.1Generics and Subtyping Bounded Wildcards Generic Methods Legacy Calls To Generics When Generics Should Be Used Generics and Subtyping Bounded Wildcards Generic Methods Legacy Calls To Generics When Generics Should Be Used
- 8.2Lambda Expressions and Functional Interface Lambda Expression Syntax Functional Interfaces Type Inference in Java 8 Method references Lambda Expression Syntax Functional Interfaces Type Inference in Java 8 Method references
- Session: Working with Collections Collections2
- 9.1Characterizing Collections Collection Interface Hierarchy The Set, List and Queue Interfaces Map Interfaces Characterizing Collections Collection Interface Hierarchy The Set, List and Queue Interfaces Map Interfaces
- 9.2Using Collections Collection Sorting Comparators Using the Right Collection Lambda expressions in Collections Collection Sorting Comparators Using the Right Collection Lambda expressions in Collections
- Session: Stream API Streams2
- 10.1Processing 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 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
- 10.2Collectors Creating Collections from a Stream Group elements in the Stream Multi-level grouping of elements Partitioning Streams Creating Collections from a Stream Group elements in the Stream Multi-level grouping of elements Partitioning Streams
- Session: The Java Module System Introduction to the Module System4
- 11.1Introduce Project Jigsaw Classpath and Encapsulation The JDK internal APIs Java 9 Platform modules Defining application modules Define module dependencies Implicit dependencies Implied Readability Exporting packages Introduce Project Jigsaw Classpath and Encapsulation The JDK internal APIs Java 9 Platform modules Defining application modules Define module dependencies Implicit dependencies Implied Readability Exporting packages Additional Topics: Time Permitting
- 11.2Formatting Strings String.format System.out.printf The Formatter class Using the formatting syntax String.format System.out.printf The Formatter class Using the formatting syntax
- 11.3Introduction to Annotations Annotations Overview Working with Java Annotations Annotations Overview Working with Java Annotations
- 11.4Java 12 and beyond Provide an overview of changes since Java 11 Introduce Preview Features Records (Java 14) Switch Expressions (Java 12, Java 13, Java 14) Text Blocks (Java 13, Java 14) Helpful NullPointerExceptions (Java 14) Pattern Matching for instanceof (Java 14) Provide an overview of changes since Java 11 Introduce Preview Features Records (Java 14) Switch Expressions (Java 12, Java 13, Java 14) Text Blocks (Java 13, Java 14) Helpful NullPointerExceptions (Java 14) Pattern Matching for instanceof (Java 14)
