Length: 2 Days
OVERVIEW
This accelerated hands-on workshop teaches Java programming in two days.
You’ll learn object-oriented techniques, how to use the compiler and class libraries, how to handle exceptions, and, by the end of the second day, how to build applets.
With no fluff, theory, or history, this course gets your hands-on right away. It focuses on the practical knowledge and survival skills you need to get useful work done in the real world. It covers the essentials at an accelerated pace so you can get back to your desk as quickly as possible.
Who Should Attend
If you have programming experience and need to learn Java, then this is the course for you!
Prerequisites
Experience with any C-like programming language (C, Perl, Pascal, Ada, Algol, C++, etc.)
Familiarity with programming concepts (variables, loops, statements, strings, arrays)
Knowledge of general computing concepts (compilers, operating systems, text editors)
Experience with a command-line user interface (UNIX shell, DOS, VMS, etc.)
Outline
- Chapter 1: Classes and Methods
Chapter 2: Variables and Fields
Chapter 3: Doc Comments
Chapter 4: Arrays and Control Flow
Chapter 5: Inheritance
Chapter 6: The I/O Package
Chapter 7: Exceptions
Chapter 8: Packages
Chapter 9: Applets
Chapter 10: Graphical user interfaces
Classes in these packages are discussed:
- java.io
java.util
java.math
java.awt
java.applet
java.lang
java.text
Objectives
Upon completion of this course, you will be able to:
- Compile programs using javac
- Run programs in the Java Virtual Machine
- Write Java applets
- Use classes from the core API in Java 1.1
- Design classes
- Use inheritance to extend classes
- Write a graphical user interface with the AWT classes
- Create a reusable class library using packages
- Send output to the screen and to files
- Apply the correct Java syntax
- Handle errors using exceptions
- Use strings and arrays in Java
- Use flow control statements in Java
- Use access control to hide implementation details
- Understand the Java security model
- Document your programs with its built-in tools
Method
The course consists of ten chapters, each culminating in an in-depth hands-on lab. In the lab, you are given a complete — or nearly complete — working Java program that you modify or adapt in order to apply the principles discussed in the chapter. Thus, without having to do a lot of typing, you demonstrate that you have grasped and can use the concepts and techniques presented in the course.
The language features presented are independent for the version of the Java Development Kit (JDK). So this course is appropriate both for JDK 1.1 and 1.2.
Recommended texts for this class:
The Java Programming Language by Ken Arnold and James Gosling (Addison Wesley).
