7806 java 6 programming essentials using helios eclipse
1. Java 6 Programming Essentials using Helios Eclipse
Course Summary
Description
This course will introduce the student to the Java programming language using the Java EE Helios Eclipse.
Through hands-on exercises, the student will become familiar with the Java syntax and the object oriented
approach that this language utilizes. It is based on the new Java 1.6
Objectives
At the end of this course, students will be able to:
• Use the desired Java EE Helios Eclipse proficiently
• Understand the Java language syntax
• Create, compile, run and debug Java applications
• Manage the Java files
• Translate a class diagram into Java code (and vice-versa)
• Use the Collections framework
• Familiar with Using the Java API
Topics
• Basic Java syntax (data types, operators, control statement)
• Object-oriented programming in Java
• UML notation - Class Diagram
• Using Collections Framework
• Using Exceptions
• Navigating Sun’s API documentation
• Generics and Collections Framework
• Varargs
Audience
This course is designed for new Java programmers who have not previously programmed in an object-oriented
language. The course can also run in RAD, Java EE Helios Eclipse, WebLogic Workshop, and JDeveloper.
Prerequisites
The student must be familiar object oriented programming and with basic programming concepts with prior
programming experience in at least one language (COBOL, Visual Basic, C, etc.).
Duration
Five days
Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for informational
purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these names generically
7806JAVA6PROGRAMMINGESSENTIALSUSINGHELIOSECLIPSE-110311182404-PHPAPP01.DOC
2. Java 6 Programming Essentials using Helios Eclipse
Course Outline
I.Overview of the Course VI.Flow of Control
A. Java keyword: package A. Organizing Statements
B. The Lab Disk B. Control Flow Statements
C. The Labs C. The if-then Statement
D. File Hierarchy of Eclipse Based IDE D. The if-then-else Statement
E. Mapping the Lab Disk with the IDE E. The if-then-if else Statement
F. Notations F. Ternary Operator
G. The while Statement
II.Overview of Eclipse H. The do-while Statement
A. What is the Eclipse Platform? I. The for Statement
B. Eclipse Architecture J. The break keyword
C. Getting Eclipse K. The switch statement
D. Verify the Installed JRE L. The continue keyword
III.First Java Application VII.Classes’ vs. Objects
A. Class Declaration Syntax A. What is an Object?
B. Java Application B. What is a Class?
C. First Java Application C. Classes
D. Using the Source Code D. Revisiting: Class Declaration Syntax
E. Comments 1. What are the Attributes of a Class?
2. Attribute Definition Syntax
IV.Variables 3. Attributes of PartTime Class
A. Variables E. Revisiting: Class Declaration Syntax
B. Legal Identifiers 1. Methods of a Class
C. Reserved Words 2. Method Definition Syntax
D. Declaring Variables 3. Signature of the Method
E. Terminologies 4. Overloading a Method
F. Primitive Data Types 5. Methods of PartTime Class
1. Integers F. Classes vs Object
2. Floating Point G. The this keyword
3. Character 1. In Variable
G. boolean 2. In Method
H. Assignment and Conversion H. The static keyword
I. Strings 1. In Variable
2. In Method
V.Operators
A. Arithmetic Operators VIII.Constructors
B. String Operators A. Revisitng: Class Declaration Syntax
C. Assignment Operator B. Constructors
D. Relational Operators C. Constructor Declaration Syntax
E. Increment/Decrement Operators D. Constructors of PartTime Class
F. Logical Operators E. Invoking the Constructors
G. Boolean Operators F. Revisiting: The this keyword
H. Logical Not 1. In Constructors
Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for informational
purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these names generically
7806JAVA6PROGRAMMINGESSENTIALSUSINGHELIOSECLIPSE-110311182404-PHPAPP01.DOC
3. Java 6 Programming Essentials using Helios Eclipse
Course Outline
IX.Arrays D. Error and Exception
A. Arrays Defined E. Exception Class
B. Array Variable Syntax F. Types of Exception
1. Primitive Data Types G. How to Handle Exception
2. Object Data Types H. Constructing an Exception Handler
3. Shortcut 1. The try block
C. Referencing the Array 2. The catch block
D. Exceptions in Arrays 3. The finally block
E. Arrays of Array I. Throwing an Exception
J. Create and Use Your Own Exception
X.Inheritance K. Chained Exception
A. Inheritance
B. Revisiting: Class Declaration Syntax XV.Navigating the Java API (under development)
C. The extends Keyword A. Java API
D. The super keyword 1. Instance Method
1. In Constructors 2. Class Method
2. In a Variable B. The String Class
3. In a Method C. The Math Class
E. The final keyword D. The StringBuilder Class
1. In a Variable E. The Wrapper Classes
2. In a Method F. Boxing and Autoboxing
3. In a Class
XVI.Enumerations
XI.Polymorphism A. Enumeration
A. Polymorphism B. Enumeration Declaration Syntax
B. Revisitng: Reference Variables C. Using an Enumeration
D. Advantages of Enumeration
XII.Encapsulation
A. Encapsulation XVII.Generics and Collection Framework
B. Applying Encapsulation A. Generics
C. Access Modifiers B. Why Generics
D. The package keyword C. Class Declaration Syntax: Using Generics
1. Using the package keyword D. Using Parameterized Type Class
E. The import keyword E. Collections
F. What is the Collection Framework?
XIII.Abstraction G. The import keyword
A. Abstraction H. To Traverse a Collection
B. The abstract Keyword I. Revisiting: For Each Loop
1. In Method J. Collection Interfaces
2. In Class K. Collection Classes
C. Interface 1. Priority Queue
1. Interface Declaration Syntax 2. Vector
2. Revisiting: Class Declaration Syntax 3. ArrayList
4. LinkedList
XIV.Exception Handling 5. Iterator
A. What is an Exception? 6. HashSet
B. How it Works 7. TreeSet
C. Exception Hierarchy 8. TreeMap
Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for informational
purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these names generically
7806JAVA6PROGRAMMINGESSENTIALSUSINGHELIOSECLIPSE-110311182404-PHPAPP01.DOC