02/07/2022 - 02/07/2022
10:00 AM - 06:00 PM
Online Virtual Class
USD $595.00
Enroll
03/14/2022 - 03/14/2022
10:00 AM - 06:00 PM
Online Virtual Class
USD $595.00
Enroll
04/04/2022 - 04/04/2022
10:00 AM - 06:00 PM
Online Virtual Class
USD $595.00
Enroll

Duration

1 Day

Download Sample Labs Lab Setup Guide

Outline for 1 day Java prereq for Selenium

WA2685 1 day Java prereq for Selenium Training Course Outline

Chapter 1. Overview of Java

  • History Of Java
  • Benefits Of Java
  • What Is Java?
  • What's This "Virtual Machine"?
  • Comparison to Other Languages
  • Java Programs
  • Basic Java Development Tools
  • Java Editions
  • Example – HelloWorld
  • Java Classes
  • Main Methods
  • Statements
  • Summary

Chapter 2. Java Data Types and Operators

  • Declaring And Initializing Variables
  • Keywords
  • Coding Tips – Variables
  • Primitive Data Types
  • Logical - boolean
  • Textual - char and String
  • Integral - byte, short, int, long
  • Floating Point - float and double
  • Strings
  • Creating Strings
  • White Space
  • Comments
  • Coding Tips - Comments
  • Java Statements
  • Coding Tips - Statements
  • Scope of a Variable
  • System.out/System.in
  • Scanner Class
  • Operator Categories
  • Special Situations
  • Unary Operators
  • Relational Operators
  • Logical Operators
  • "Short Circuited" Operators
  • Assignment Operators
  • Operator Precedence
  • Precedence Examples
  • Combining Strings
  • Coding Tips - Operators
  • Control Flow Statements
  • 'if' Statement
  • 'if…else' Statement
  • Nested Statements
  • Coding Tips - if & if-else
  • Summary

Chapter 3. Advanced Control Structures

  • 'switch' Statement
  • Example - switch
  • Switch "Fall Through"
  • Using switch "Fall Through" for Multiple Options
  • Java 7 – Strings in switch Statement
  • 'for' Loop
  • Example - for
  • 'while' Loop
  • Example - while
  • 'do…while' Loop
  • Example - do while
  • Break Statement
  • Example - break
  • Continue Statement
  • Coding Tips - Control Structures
  • Summary

Chapter 4. Classes and Objects

  • Objects, Instances, And Classes
  • What Are Classes?
  • Working With Classes And Objects
  • Instantiation
  • Instance Methods
  • Object References
  • Null Values
  • String Operations
  • Defining Classes
  • Encapsulation
  • Elements Of A Class
  • Coding Tips - Class Definitions
  • Fields
  • Defining Fields
  • Data Hiding
  • Coding Tips - Fields
  • Methods
  • Defining Methods
  • Passing Parameters
  • Overloading Methods
  • Coding Tips - Methods
  • Local Variables vs. Instance Variables
  • Example - Defining a Class
  • Example - Fields
  • Example - Defining a Method
  • Example - Calling a Method
  • Summary

Chapter 5. Constructors and Class Members

  • Constructors
  • Default Constructor
  • Multiple Constructors
  • Defining Constructors
  • Example - Calling Constructors
  • "Good" Constructors
  • 'this' Keyword
  • Using 'this' to Call a Constructor
  • Using 'this' to Set a Field
  • Class Members
  • Examples Of Class Members
  • Comparison With Instance Members
  • Use Of Class Variables
  • Static Class Methods
  • Use Of Class Methods
  • Declaring Constants
  • Coding Tips - Class Members
  • Useful Standard Class Members
  • Summary

Chapter 6. Inheritance

  • Inheritance Is…
  • Inheritance Examples
  • Declaring Inheritance
  • Inheritance Hierarchy
  • Access Modifiers Revisited
  • Inherited Members
  • Instances Of A Subclass
  • Example Of Inheritance
  • Role In Reuse
  • Overriding Methods
  • @Override Annotation
  • The super Keyword
  • Example - super Keyword
  • Problems with Constructors
  • Limiting Subclasses
  • Calling Methods in Constructors
  • The Object Class
  • Interface
  • Interface – An Example
  • Summary

Lab Exercises

Lab 1. The HelloWorld Class
Lab 2. Creating A Simple Object
Lab 3. Using Constructors
Lab 4. Looping 
Lab 5. Subclasses