Java is a popular and powerful language. Although comparatively simple in its language structure, there are a number of subtleties that can trip up less experienced programmers. It is based on C, and the terse nature of C may be unfamiliar to students with some previous experience programming in languages such as COBOL or Visual Basic who do not have experience with C or C++. And, of course, Java is object-oriented.
The five-day timeline of this course explicitly targets less experienced programmers, providing them with a thorough step-by-step introduction to Java programming. It lays a firm foundation for further study of Java. There are a large number of example programs and many labs. The course software also includes an optional overlay of workspace and project files to support use of the Eclipse IDE in the classroom. (This requires that the instructor be experienced in use of Eclipse and able to walk students through basic tasks in the IDE.)
An important thrust of this course is to teach programming from an object-oriented perspective. It is often difficult for programmers trained originally in a procedural language to start "thinking in objects." This course introduces object-oriented concepts very early, and Java is developed in a way that leverages its object orientation. Most of the course emphasizes simple classes without inheritance. The last chapter introduces inheritance and polymorphism, along with interfaces and collections.
This revision of the course targets the Java 7 language and Core API. See our course catalog for training explicitly geared to earlier versions of Java, going back as far as J2SE 1.4.2. To read more about different versions of Java and for help deciding on which version of this course to use, see "Java Versions and Terminology Demystified"
Java Training Prerequisites
Good general problem solving skills. Some previous experience programming in a procedural language is essential.
Java Training Course duration
Java Training Learning Objectives
After completing this course a student should:
Learn the basic principles of object-oriented programming
Learn the essentials of the Java programming language
Acquire the skills needed to design, code and debug computer programs in the Java language
Java Training Course outline
Chapter 1. What is Java?
Java Virtual Machine
World Wide Web and Java
Java as a First Programming Language
Chapter 2. First Java Programs
Output in Java
Variables and Expressions
Calculations Using Java
Chapter 3. Introduction to Objects
Classes and Objects
State and Behavior
Input in Java
Chapter 4. Data Types and Operators
Integer Data Types
Conversions Between Types
Doing Math in Java
Errors in Integer Arithmetic
Chapter 5. Booleans and Enumerations
Logical and Relational Operators
Chapter 6. Loops and Program Flow
Quitting Infinite Loops
Curly Braces and Indenting
Sentinels and Counters
Loops and If Tests Together
Nested If Statements
Chapter 7. Objects and Classes
Instantiating an Object
Assignment of Objects
Public vs. Private
Chapter 8. Characters and Strings
Char Data Type
ASCII and Unicode
String Input and Output
Chapter 9. Modular Programming
Static Variables and Methods
Top-Down and Bottom-Up Development
Pass-By-Value and Pass-By-Reference
Chapter 10. Arrays
One Dimensional Arrays
Arrays and the For-Each Loop
Copy and Assignment
Arrays of Objects
Chapter 11. Bit Operations
Shifting and Masking
Chapter 12. Exception Handling and More Flow Control
Errors in Integer Arithmetic
Floating Point Operaations
I/O Exceptions vs. Runtime Exceptions
Chapter 13. Advanced Java Features
Reusable Software Components
Hardware – minimal Core 2 Duo, 1.8 GHz, 1 gig RAM, 500 meg disk space.
Hardware – recommended Core 2 Duo, 2.8 GHz, 4 gig RAM, 500 meg disk space.
Operating system Tested on Windows 7. Course software should be viable on all systems which support a Java SE 7 Developer's Kit.