Skip to main content

Instructor-led training

Java Fundamentals for Non-C Programmers Training in Pineville, Louisiana

Java Fundamentals for Non-C Programmers rev 5.2.1 This course is paced to provide a solid foundation in Java for programmers without syntax experience in a C-based language.

What you'll learn

Java Fundamentals for Non-C Programmers rev 5.2.1 This course is paced to provide a solid foundation in Java for programmers without syntax experience in a C-based language. Intensive and hands-on, the course emphasizes becoming productive quickly as a Java programmer. Besides learning the basic structure and syntax of the language, students will also learn object-oriented principles and how they are applied in Java applications. The course then covers several of the provided API packages, such as I/O streams, collections, Swing GUI programming, and accessing a database with JDBC. This course is current to Java 7 and uses the Eclipse IDE.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Pineville, Louisiana 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

Professional programming experience in a high level language, such as COBOL and Visual Basic

Course Outline

1. Course Introduction
Course Objectives
Course Overview
Using the Workbook
Suggested References

2. Getting Started with Java
What is Java?
How to Get Java
A First Java Program
Compiling and Interp
reting Applications
The JSDK Directory Structure

3. Eclipse
Introduction to Eclipse
Installing Eclipse
Running Eclipse for the First Time
Editors, Views, and Perspectives
Setting up a Project
Creating a New Java Application
Running a Java Application
Debugging a Java Application
Importing Existing Java Code into
Eclipse

4. Datatypes and Variables
Primitive Datatypes
Declarations
Variable Names
Numeric Literals
Character Literals
String
String Literals
Arrays
Non-Primitive Datatypes
The Dot Operator

5. Operators and Expressions
Expressions
Assignment Operator
Arithmetic Operators
Relational Operators
Logical Operators
Increment and Decrement Operators
Operate-Assign Operators (+=, etc.)
The Conditional Operator
Operator Precedence
Implicit Type Conversions
The Cast Operator

6. Control Flow
Statements
Conditional (if) Statements
Adding an else if
Conditional (switch) Statements
while and do-while Loops
for Loops
A for Loop Diagram
Enhanced for Loop
The continue Statement
The break Statement

7. Methods
Methods
Calling Methods
Defining Methods
Method Parameters
Scope
So, Why All the static?

8. Object-Oriented Programming
Introduction to Object-Oriented
Programming
Classes and Objects
Fields and Methods
Encapsulation
Access Control
Inheritance
Polymorphism
Best Practices

9. Objects and Classes
Defining a Class
Creating an Object
Instance Data and Class Data
Methods
Constructors
Access Modifiers
Encapsulation

10. Using Java Objects
Printing to the Console
printf Format Strings
StringBuilder and StringBuffer
Methods and Messages
toString
Parameter Passing
Comparing and Identifying Objects
Destroying Objects
The Primitive-Type Wrapper Classes
Enumerated Types

11. Inheritance in Java
Inheritance
Inheritance in Java
Casting
Method Overriding
Polymorphism
super
The Object Class

12. Advanced Inheritance and Generics
Abstract Classes
Interfaces
Using Interfaces
Collections
Generics
Comparable

13. Packages
Packages
The import Statement
Static Imports
CLASSPATH and Import
Defining Packages
Package Scope

14. Exception Handling
Exceptions Overview
Catching Exceptions
The finally Block
Exception Methods
Declaring Exceptions
Defining and Throwing Exceptions
Errors and RuntimeExceptions

15. Input/Output Streams
Overview of Streams
Bytes vs. Characters
Converting Byte Streams to Character
Streams
File Object
Binary Input and Output
PrintWriter Class
Reading and Writing Objects
Closing Streams

16. Core Collection Classes
The Collections Framework
The Set Interface
Set Implementation Classes
The List Interface
List Implementation Classes
The Queue Interface
Queue Implementation Classes
The Map Interface
Map Implementation Classes

17. Collection Sorting and Tuning
Sorting with Comparable
Sorting with Comparator
Sorting Lists and Arrays
Collections Utility Methods
Tuning ArrayList
Tuning HashMap and HashSet

18. Introduction to JDBC
The JDBC Connectivity Model
Database Programming
Connecting to the Database
Creating a SQL Query
Getting the Results
Updating Database Data
Finishing Up

19. JDBC SQL Programming
Error Checking and the SQLException
Class
The SQLWarning Class
JDBC Types
Executing SQL Queries
ResultSetMetaData
Executing SQL Updates
Using a PreparedStatement
Parameterized Statements
Stored Procedures
Transaction Management
 
20. Appendix A – Advanced JDBC
JDBC SQL Escape Syntax
The execute() Method
Batch Updates
Updateable Result Sets
Large Objects
Working with Savepoints
RowSets
CachedRowSet
DataSources


 

What makes this material hard to master

Developers from COBOL or Visual Basic backgrounds usually pick up Java's statements quickly. The harder shift is thinking in objects, and the syllabus is sequenced to support it.

  • Syntax groundwork (modules 4-7). Datatypes, operators, control flow and methods come first. Operator precedence, implicit conversions and the cast operator trip up people who have not used a C-style language. The module section "So, Why All the static?" addresses a common point of confusion before objects are introduced.
  • Objects and references (modules 8-11). The course covers encapsulation, access control, constructors, inheritance, overriding, polymorphism and super. The topics on parameter passing, comparing and identifying objects, and destroying objects deal with misconceptions that come from treating objects like records or copybooks. Examples are assuming == compares contents or that a method receives a copy of an object.
  • Abstraction and structure (modules 12-14). Abstract classes, interfaces, generics and Comparable are followed by packages, CLASSPATH and exception handling. Checked exceptions versus RuntimeException, and finally, are where procedural habits about error codes are most visible.
  • Library work (modules 15-19). Streams (bytes versus characters), the collections framework, sorting with Comparator, tuning ArrayList and HashMap, and JDBC all depend on the earlier object model. JDBC adds PreparedStatement, stored procedures and transaction management.

Module 3 teaches Eclipse, including debugging, so learners can step through object behavior instead of guessing at it.

Who it suits and what comes next

This is an introductory, five-day course for professional programmers experienced in a high-level language such as COBOL or Visual Basic who have not worked in a C-based language. It targets Java SE 7 and earlier, which is out of support. The course therefore serves teams that build, maintain or migrate existing systems on those releases. Organizations working on newer releases can request a training proposal to discuss private training tailored to the versions they use.

After this course: Advanced Java Programming is a natural next step once the language, collections and JDBC basics are solid. If the work involves web applications, Fast Track to Java EE 5 with Servlets, JSP & JDBC on Tomcat/Eclipse builds on the JDBC and Java fundamentals practiced here. The Java Programming courses and learning guide shows other routes.

Where these skills apply

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.

The scenarios below are illustrations of how the syllabus topics fit together.

  • Moving file-based processing into Java. A team might replace a record-oriented batch job with Java classes. It would read and write files with the stream classes and PrintWriter, hold records in List and Map collections, and order them with a Comparator. Exception handling with finally and careful stream closing keeps failures from leaving files open.
  • A database-backed utility. A developer might write a maintenance tool that queries and updates a relational database. It would use JDBC connections, PreparedStatement parameters, SQLException handling and explicit transaction management. Batch updates and DataSources from the appendix suit larger loads.
  • Modeling existing business logic. A team might express rules that used to live in procedural modules as classes with encapsulated fields. Interfaces and polymorphism let alternate rule sets plug in, and packages keep the code organized.

AI coding assistants with these topics

AI coding assistants can draft boilerplate such as constructors, toString methods and simple JDBC query code. They can also explain compiler messages and suggest collection choices. These are useful once you know enough to judge the output.

Where they fall short:

  • They may produce syntax or library calls from newer Java releases than the Java 7 level this course targets. Code can fail to compile in an older project.
  • Generated JDBC code may build SQL by string concatenation instead of using PreparedStatement parameters. It may also skip closing resources or leave out transaction rollback.
  • Collections and generics code can compile yet use raw types, or use a HashMap key whose class does not behave properly for comparison.
  • Reading and writing serialized objects deserves scrutiny, because deserializing untrusted data is a security risk.

How to verify: compile against the project's actual Java version and step through the code in the Eclipse debugger. Write small tests for sorting and edge cases, and review resource handling in every finally block. Check SQL and exception paths against a test database.

Frequently asked questions

What level is this course?

It is introductory and runs five days. It is aimed at experienced programmers who are new to Java and to C-style syntax.

What background do I need?

Professional programming experience in a high-level language, such as COBOL or Visual Basic. Prior Java or C experience is not assumed.

What does the course cover?

It covers Java syntax, operators, control flow, methods and object-oriented programming, including inheritance, interfaces and generics. It also covers packages, exceptions, I/O streams, collections and sorting, and JDBC with an appendix on advanced JDBC. Eclipse is used as the development environment.

Can this be delivered privately for our team?

Yes. HSG provides private training for organizations, delivered onsite at your location or live online.

Can the content be customized or aligned with our Java version?

Private training can be customized and tailored to the technology versions your organization uses, including current releases. Use the training proposal request to describe your environment.

Training locations

Java Fundamentals for Non-C Programmers training across the U.S. and beyond.

We provide private Java Fundamentals for Non-C Programmers training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Java Fundamentals for Non-C 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
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.