Skip to main content

Instructor-led training

Gentle Java and OO Development Training in Spokane Valley, Washington

This course covers the core OO and Java concepts that developers need to use the Java programming language to create well designed Java programs. It focuses on key OO capabilities and how to use them in Java.

What you'll learn

This course covers the core OO and Java concepts that developers need to use the Java programming language to create well designed Java programs. It focuses on key OO capabilities and how to use them in Java. This includes material on creating well designed Java classes, using encapsulation, building more complex functionality with composition, and using inheritance to share functionality and create specialized types. This course is suitable for environments using either Java 5, Java 6, or Java 7. The material includes coverage of all current Java capabilities that are within the scope of the material, including new Java 7 capabilities such as strings in switch statements, and Multi-catch. It also stresses the use of good coding practices for all the examples and labs. All labs are doable in any of the supported Java environments. This course is available for most IDEs, such as Eclipse and IBM RAD. This course draws on our extensive experience to provide a solid understanding of the concepts and practices needed to write good object oriented programs in Java.  Be prepared to work hard and learn a great deal! This course can be followed by our Intermediate Java course. The course can be held on-site & customized to fit your needs.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Spokane Valley, Washington 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 Training

Prerequisites

Gentle Java and OO Development is geared to audiences with no background in Object-Oriented programming or Java. Supported Platforms: Java 5, Java 6, Java 7, IBM RAD (7, 7.5, 8.0, 8.5), Eclipse (any relatively recent version)

Course Outline

 

Session 1: A First Look
 
A Simple Java Class
Java’s “Hello World” Program
LABS: 
Hello World:  A Simple Application
 
Session 2: Java Basics
 
Language and Platform Features
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
Scopes, Blocks, References to Objects
LABS: 
Encapsulation / Access Protection
Writing and Using Constructors
(Optional) Static Members
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 and Arrays
 
String, StringBuffer, StringBuilder
Arrays, Primitive Arrays, Arrays of Reference Types
varargs
LABS: 
Using Strings and Arrays
 
Session 7: Packages
 
Package Overview - Using Packages to Organize Code
import statements
Creating Packages, package Statement, Required Directory Structure
Finding Classes, Packages and Classpath
LABS:
Using Packages to Organize Code
 
 
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 Overview
 
Using Interfaces to Define Types
Interfaces and Abstract Classes
 
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: JDBC
 
JDBC basics
JDBC Architecture
Using JDBC drivers & DriverManager
Class Connection and connecting to a database
Class Statement and executing SQL statements
Other statement types
LABS:
Connecting and Querying using JDBC
 
Session 12: Java Collections and Generics
 
The Collections Framework and its API
Collections and Java Generics
Collection, Set, List, Iterator
Autoboxing
for-each Loop
LABS: 
Using Lists and Generics
 
Session 13: Additional Java Features
 
Type-safe Enums
Additional Features in Java 6 and Java 7

What makes this material hard to master

The syntax is rarely the obstacle. The harder shift is learning to organize a program as cooperating objects instead of a sequence of steps. The syllabus builds toward that in a deliberate order.

  • Class and object basics (sessions 3-4). Classes, references and instantiation, then fields and methods, the this variable, constructors, static members and scope. Learners often confuse a reference with the object it points to, and a class with its instances. The labs on exploring types and object instances address this directly.
  • Encapsulation. Using public and private access is easy. Deciding what to hide, and why, takes practice. The encapsulation and access-protection lab is where that judgment starts.
  • Composition before inheritance (session 8). The course presents HAS-A and delegation first, then IS-A, extends, overriding, polymorphism, class Object and abstract classes. A common misconception is that inheritance is the default way to reuse code. Seeing both side by side shows when each fits. Session 9 then separates interfaces from abstract classes.
  • Exceptions (session 10). The exception hierarchy, try/catch, program flow with exceptions and finally. Many beginners treat exceptions as error codes. Here they are a flow-of-control mechanism.
  • Collections and generics (session 12). Collection, Set, List, Iterator, autoboxing and the for-each loop depend on the object model from earlier sessions, which is why they come late.

JDBC (session 11) and the Java 6 and Java 7 additions (session 13) apply those ideas to a database and to newer language features.

Who it suits and what to take around it

The course is written for people with no background in object-oriented programming or Java. It suits developers moving from procedural or other non-OO work, and teams who need a shared OO foundation before building or maintaining Java applications. The listed platforms are Java 5, 6 and 7, with Eclipse or IBM RAD. Java SE 7 and earlier are out of support, so the course fits organizations that maintain or migrate systems on those versions.

For the next step, the course description names HSG's Intermediate Java course as the follow-on. Teams working on newer releases can request private training tailored to the versions they use, including current ones, through a training proposal. Learners who already know the OO basics and want a version-specific course on a supported release can look at Fast Track to Java 25 and OO Development, which covers Java at that level in five days. The full range is on the Java Programming courses and learning guide page.

Illustrative scenarios

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 legacy reporting tool. A team might inherit a Java 6 application with long procedural methods. Encapsulation, constructors and composition (sessions 3, 4 and 8) give them a way to split it into small classes with clear responsibilities.
  • Modeling related record types. A team might need several kinds of accounts that share behavior but differ in detail. Abstract classes, overriding and polymorphism let them share the common code, and an interface can define the type that other code depends on (sessions 8-9).
  • Reading data from a relational database. A developer might write a small utility that connects with DriverManager, runs a query with Statement, and loads the rows into a List with generics. Exceptions and finally handle failures and cleanup (sessions 10-12).

AI coding assistants with these topics

AI coding assistants are useful for explaining a compiler error, drafting a simple class or suggesting an alternative loop. They are weaker where this course puts its emphasis.

  • Version mismatch. Assistants often produce syntax from newer Java releases, which will not compile at the Java 5-7 level this course targets. Compile with the project's actual source level and JDK.
  • Design quality. Generated code tends to expose fields, use inheritance where composition fits, or put everything in one class. Review it against what you learned about encapsulation, HAS-A versus IS-A, and interfaces versus abstract classes.
  • JDBC. Suggested code may build SQL by concatenating strings, which invites injection, and may skip closing resources in finally. Check both, and consider the other statement types the syllabus covers.
  • Exceptions and collections. Watch for empty catch blocks, overly broad catches, and raw collection types without generics.

To verify, compile and run the code yourself, step through it with the debugger (the course includes a debugger lab) and write a small test case with known inputs.

Frequently asked questions

What level is this course?

Introductory. It assumes no object-oriented or Java background and starts with a simple class and a Hello World program.

Do I need prior programming experience?

The stated prerequisite is no background in OO programming or Java. Some general programming familiarity will make the 4 days easier to follow.

What does the course cover?

Classes and objects, encapsulation, constructors, flow of control, strings and arrays, packages, composition and inheritance, interfaces, exceptions, JDBC, collections and generics, type-safe enums, and additional Java 6 and Java 7 features.

Which Java versions and tools does it use?

Java 5, 6 and 7, with Eclipse or IBM RAD. Java SE 7 and earlier are out of support, so the course suits teams maintaining or migrating systems on those versions.

Can it be delivered privately and customized?

Yes. HSG delivers private training onsite or live online, and the content can be customized, including tailoring to the Java versions your organization uses. You can submit a request through the training proposal link.

Training locations

Gentle Java and OO Development training across the U.S. and beyond.

We provide private Gentle Java and OO Development training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Gentle Java and OO Development 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
Request Group Training

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.