Introduction to Java for Non-C Programmers

Public Training Price: $2295 per student
Private Training Price: $8500 for up to 3 students*
*Additional students subject to a nominal fee
Share

 

 

 

Introduction to Java for Non-C Programmers Training Class Summary

The designers of the Java programming language borrowed heavily from the C language for basic constructs and syntax. Most Java textbooks and training materials assume that the student is a proficient C or C++ programmer, which means the materials bypass the basic, low-level Java syntax that actually gets all the work done, and focus only on higher-level aspects of class design and the use of Java APIs. This leaves non-C/C++ programmers to learn the syntax and semantics of the actual Java language entirely on their own, while at the same time trying to pick up the higher-level concepts.

This four day course is designed to provide a solid foundation in Java for programmers without syntax experience in a C-based language. 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. In addition, this course covers more advanced features of the language such as abstract classes, interfaces, generics, packages, and exception handling. Finally, students will learn two foundational API libraries: I/O streams and collections. Additional appendices on threads, J2EE, and Eclipse are provided for further study.

Audience: Experienced computer programmers who are moving to object-oriented programming using Java.

Prerequisites: Professional programming experience in a high level language, such as COBOL and Visual Basic. This course assumes no experience in a C-based language such as C, C++, or C#.

Class Length: 4 days

Introduction to Java for Non-C Programmers Training Class Objectives
  • Write stand-alone applications using the Java language.
  • Apply object-oriented principles such as encapsulation, inheritance, and polymorphism in the Java language.
  • Create well-scoped classes using packages and inner classes.
  • Write programs which both handle and create exceptions.
  • Read and write data using input and output streams.
  • Use the Java 2 Collections Framework to work with groups of objects.
Introduction to Java for Non-C Programmers Training Class Detailed Outline
  1. Course Introduction
    • Course Objectives
    • Overview
    • Suggested References
  2. Getting Started with J2SE
    • What is Java?
    • How to Get Java
    • A First Java Program
    • Compiling and Interpreting Applications
    • The JDK Directory Structure
  3. Datatypes and Variables
    • Primitive Datatypes
    • Declarations
    • Variable Names
    • Numeric Literals
    • Character Literals
    • String
    • String Literals
    • Arrays
    • Non-Primitive Datatypes
    • The Dot Operator
  4. 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
  5. 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
  6. Methods
    • Methods
    • Calling Methods
    • Defining Methods
    • Method Parameters
    • Scope
    • So, Why All the static?
  7. Object-Oriented Programming
    • Introduction to Object-Oriented Programming
    • Classes and Objects
    • Fields and Methods
    • Encapsulation
    • Access Control
    • Inheritance
    • Polymorphism
    • Best Practices
  8. Objects and Classes
    • Defining a Class
    • Creating an Object
    • Instance Data and Class Data
    • Methods
    • Constructors
    • Access Modifiers
    • Encapsulation
  9. 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
    • Using the Primitive-Type Wrapper Classes
    • Autoboxing
  10. Inheritance in Java
    • Inheritance
    • Inheritance in Java
    • Casting
    • Method Overriding
    • Polymorphism
    • super
    • The Object Class
  11. Advanced Inheritance and Language Constructs
    • Enumerated Types - Pre-Java 5.0
    • Enumerated Types Today
    • More Enumerated Types
    • Abstract Classes
    • Interfaces
    • Using Interfaces
    • Comparable
    • Collections
    • Generics
  12. Packages
    • Packages
    • The import Statement
    • Static Imports
    • CLASSPATH and Import
    • Defining Packages
    • Package Scope
  13. Exception Handling
    • Exceptions Overview
    • Catching Exceptions
    • The finally Block
    • Exception Methods
    • Declaring Exceptions
    • Defining and Throwing Exceptions
    • Errors and RuntimeExceptions
    • Assertions
  14. 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
    • Basic and Filtered Streams
  15. 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
  16. Appendix A - Introduction to Threads
    • Non-Threaded Applications
    • Threaded Applications
    • Creating Threads
    • Thread States
    • Runnable Threads
    • Coordinating Threads
    • Interrupting Threads
    • Runnable Interface
    • ThreadGroups
  17. Appendix B - J2EE Overview
    • Introduction to J2EE
    • J2SE Building Blocks
    • Servlets, JSPs, and Web Applications
    • Web Services
    • Enterprise JavaBeans
    • Additional J2EE APIs
    • J2EE Clients
    • The J2EE Platform
  18. Appendix C - 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
    • Shortcut Key Sequences
    • More Shortcut Key Sequences
    • Setting the Classpath
    • Importing Existing Java Code into Eclipse

.