Instructor-led training
Java Programming for Experienced Programmers Training in El Dorado, Arkansas
This Java training course is intended for students with experience in a procedural or object-oriented language.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in El Dorado, Arkansas or live online. Dates, delivery format, and course content are arranged around your team's requirements.
This course is not currently scheduled as a public class for individual enrollment.
Request Group TrainingPrerequisites
Course Outline
Class Goals
Learn how Java works.
Understand the "write once, run anywhere" concept.
Understand and learn how to create basic Java objects.
Learn how to implement flow-control concepts in Java.
Understand Java's package concept and create packages of Java classes.
Understand Java arrays and write code to create and use arrays.
Learn how to write Java classes using inheritance.
Learn how to create and use interfaces.
Understand and use the concept of polymorphism in an application
Understand how Java's exception-handling mechanism works and learn how to apply exception-handling to Java applications.
Understand and use the Java Logging API.
Understand and use inner classes.
Understand Generics and use them with the Collections API.
Learn about Java's Streams concept, and how to appy that to files using text and binary data.
Create and run JUnit tests for Java classes.
Class Outline
Java Introduction
Conventions in These Notes
The Java Environment - Overview
Writing a Java Program
Obtaining The Java Environment
Setting up your Java Environment
Creating a Class That Can Run as a Program
The main() Method
Useful Stuff Necessary to go Further
System.out.println()
Using the Java Documentation
Java Basics
Basic Java Syntax
General Syntax Rules
Java Statements
Blocks of Code
Comments
Variables
Data
Primitive Data Types
Object Data Types
Literal Values
Constants and the final keyword
Mathematics in Java
Expressions
Operator Precedence
Multiple Assignments
Order of Evaluation
Bitwise Operators
Compound Operators
Expressions that Mix Data Types: Typecasting
Creating and Using Methods
Creating Methods
Variable Scope
Java Objects
Objects
Object-Oriented Languages
Object-Oriented Programs
Encapsulation
Creating and Using an Instance of an Object
References
Defining a Class
Java Beans
Constructors
Method Overloading
The this Keyword
static Elements
Garbage Collection
Java Packages
Dealing with Keyboard Input
String, StringBuffer, and StringBuilder
Creating Documentation Comments and Using javadoc
Javadoc Comments
Comparisons And Flow Control Structures
Controlling Program Flow
Boolean-Valued Expressions
Complex boolean Expressions
Simple Branching
Two Mutually Exclusive Branches
Nestedif... elseStatements - Comparing a Number of MutuallyExclusive Options
Comparing a Number of Mutually ExclusiveOptions - The switchStatement
Comparing Objects
Conditional Expression
while and do. . .while Loops
for Loops
Additional Loop Control: break and continue
Breaking Out of a Loop
Continuing a Loop
Classpath, Code Libraries, and Jar files
Using CLASSPATH
Creating a jar File (a Library)
Arrays
Arrays
Defining and Declaring Arrays
Instantiating Arrays
Initializing Arrays
Working With Arrays
Array Variables
Copying Arrays
Arrays of Objects
Enhanced for Loops - the For-Each Loop
Multi-Dimensional Arrays
Multidimensional Arrays in Memory
Example - Printing a Picture
Typecasting with Arrays of Primitives
Inheritance
Inheritance
Payroll with Inheritance
Derived Class Objects
Polymorphism
Inheritance and References
Dynamic Method Invocation
Creating a Derived Class
Inheritance and Access
Inheritance and Constructors - the super Keyword
Derived Class Methods That Override Base Class Methods
Inheritance and Default Base Class Constructors
The Instantiation Process at Runtime
Example - Factoring Person Out of Employee and Dependent
Typecasting with Object References
Typecasting, Polymorphism, and Dynamic Method Invocation
More on Overriding
Object Typecasting Example
Checking an Object's Type: Using instanceof
Typecasting with Arrays of Objects
Other Inheritance-Related Keywords
abstract
final
Methods Inherited from Object
Interfaces
Interfaces
Creating an Interface Definition
Implementing Interfaces
Implementing Interfaces - Example
Reference Variables and Interfaces
Calling an Interface Method
Interfaces and Inheritance
Some Uses for Interfaces
Interfaces and Event-Handling
Interfaces and "Pluggable Components"
Exceptions
Exceptions
Handling Exceptions
Exception Objects
Attempting Risky Code - try and catch
Guaranteeing Execution of Code - the finally Block
Letting an Exception be Thrown to the Method Caller
Throwing an Exception
Exceptions and Inheritance
Exception Class Constructors and Methods
Creating and Using Your Own Exception Classes
Rethrowing Exceptions
Initializer Blocks
Static Initializer Blocks
Assertions
Generics and Collections
Fundamental Collections: Sets, Lists, and Maps
Iterators
Creating Collectible Classes
hashCode and equals
Comparable and Comparators
Generics
Basic Generics Syntax
Bounded Types and Wildcards
Advanced Topics
Type Erasure
instanceof Tests
Multiple-Bounded Types
Inner Classes
Inner Classes, aka Nested Classes
Inner Class Syntax
Instantiating an Inner Class Instance from Within the Enclosing Class
Inner Classes Referenced from Outside the Enclosing Class
Working with Inner Classes
Streams
Introducing Streams
Input Stream Clases
Output Stream Classes
Using System.in
Files and Directories
Filename Filters
Creating a Directory Listing
Files and Streams
Writing to a File
Creating a File Copying Program
Working with Binary Data
Primitives
Object Serialization
Properties and Properties Files
Unit Testing
Software Testing Concepts
Unit Testing
Using JUnit
Creating a Test Case
What makes this material hard to master
For developers who already know another language, Java syntax is the easy part. The harder part is the object model and the contracts the language expects you to honor. The syllabus introduces objects early so the later topics are learned with an object-oriented view, and each block depends on the one before it.
- References, not values. The Java Objects block covers references, constructors, overloading,
this,staticelements and garbage collection. Misreading how references behave leads to aliasing bugs, and the same confusion carries into arrays of objects and typecasting. - Inheritance and polymorphism. The syllabus covers overriding,
super, the runtime instantiation process, dynamic method invocation,instanceofand casting with object references. A common misconception is that the declared type of a variable decides which method runs. In fact the actual object does. - Interfaces versus abstract classes. Interfaces are taught for pluggable components and event handling. Knowing when to choose an interface over
abstractor inheritance is a design judgment, not a syntax rule. - Exceptions.
try/catch/finally, rethrowing, custom exception classes and the interaction with inheritance. Checked exceptions are a frequent source of confusion for newcomers. - Collections and generics. Sets, lists, maps, iterators,
hashCode/equals,Comparableand comparators, then bounded types, wildcards and type erasure. A class that breaks theequals/hashCodecontract can behave oddly in a hash-based collection, and erasure explains why some generic code will not compile. - "Streams" means I/O here. The Streams block covers input and output stream classes, files and directories, binary data, object serialization and properties files.
Who it suits and what to take around it
The course suits developers with experience in a procedural or object-oriented language who need working Java fluency in five days. It starts with the environment, main(), syntax and operators, and builds toward packages, jar files, collections, file I/O and JUnit. Someone new to object-oriented programming should start with HSG's introductory Java class for new programmers instead, as the prerequisites say.
The material is built on Java SE 7 and earlier, a family that is out of support. It fits organizations that maintain, support or migrate existing systems on those releases. Teams working on current releases can look at Fast Track to Java 25 and OO Development, since Java SE 25 is a supported LTS release. Organizations can also request a training proposal for private delivery tailored to the Java version they use.
After this course, Advanced Java Programming is a natural next step. It builds on the core language, collections and I/O covered here. The full set of Java offerings is on the Java Programming courses and learning guide page.
Illustrative applications of the topics
The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.
- Maintaining a payroll-style class hierarchy. A team might inherit code in which employee types share a base class. Overriding,
abstractclasses, constructor chaining withsuperand casting withinstanceofare what let them read it, extend it and spot unsafe casts. - Fixing lookup bugs in a collection. A developer might find that objects used as map keys cannot be retrieved. Understanding
hashCodeandequalsandComparableversus comparators leads to the cause, and generics with bounded types make the collection's contract explicit. - Building a file utility with settings. A small batch tool might copy files, filter directory listings, read binary data and load its configuration from a properties file. That uses the file, stream and properties topics. Custom exceptions and
finallyblocks keep resources closed on failure, and JUnit tests guard the behavior.
AI coding assistants with these topics
AI coding assistants are useful for boilerplate here: getters, constructors, toString, javadoc comments and first drafts of JUnit test cases for simple classes. They can also explain an unfamiliar inheritance chain or a compiler message about generics.
They tend to fail in these places:
- Version mismatch. Suggestions often use language features and library calls from newer releases. Code that must compile on Java SE 7 or earlier may not accept them, so check output against the project's actual target version.
- Contracts. Generated
equals/hashCodeorcompareTomethods can be inconsistent with each other. Generated catch blocks may swallow exceptions or skipfinallycleanup. - Generics. Raw types or unchecked casts that silence the compiler can hide problems that type erasure makes invisible at runtime.
- Serialization. Object serialization from untrusted input is a security risk, and assistants may not flag it.
To verify, compile on the intended JDK, write JUnit tests for equality, ordering and exception paths, and review any cast or serialization code line by line.
Frequently asked questions
What level is this course?
It is a general-level, five-day course for developers who already program in a procedural or object-oriented language. It moves from the Java environment and basic syntax through objects, inheritance, interfaces, exceptions, collections and generics, inner classes, I/O streams and JUnit.
What should I know before attending?
You should have programming experience. Anyone new to object-oriented programming should take the introductory Java class for new programmers instead.
Which Java version does the course use?
The material is based on Java SE 7 and earlier, which is out of support and no longer on Oracle's support roadmap. It suits teams that maintain or migrate systems built on those releases. Organizations on newer versions can ask about customized private training.
Can this be delivered privately for our team?
Yes. HSG delivers private training for organizations, onsite at the client's location or live online, and the content can be customized. You can request a training proposal from the course page.
Does it cover frameworks such as Spring or Jakarta EE?
No. The syllabus covers the core language and standard library topics listed above, including collections, I/O streams and JUnit. Framework work is covered by other courses.
Training locations
Java Programming for Experienced Programmers training across the U.S. and beyond.
We provide private Java Programming for Experienced Programmers training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Java Programming for Experienced Programmers training locations
Train your team with HSG
Private, instructor-led training customized for your organization.
- Onsite or live online delivery
- Customized curriculum
- For a single employee or an entire team
- Flexible scheduling
- Experienced instructors
Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com
Ready to train your team?
Let's customize this training for your organization.
Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.