Java 5 Tiger
Summary
Java's 1.5 Tiger incorporates several significant changes to the java language that is intended to make programming clearer and safer. The Java 5 Tiger course will introduce all the new language constructs, including the generics and annotations. This course is for Java Programmers who want to come up to speed on new Java 5 Tiger features.
Pre-requisite
-
Java programming knowledge
Duration
-
Duration: 24 hours
-
Span for Weekdays: 2 weeks
Syllabus
Introduction
-
Java 5 Tiger Overview
Variable-length Argument Lists
-
How it works
-
Creation of variable argument Lists
-
Iteration of variable argument Lists
Autoboxing
-
Primitives to Wrapper Types
-
Wrapper Types to Primitives
-
Method Overload Resolution
Foreach
-
Ditching Iterators
-
Iterating over Arrays
-
Iterating over Collections
-
Making Your Classes Work with for/in
Enum
-
Enumerated Types
-
Using Enumerated Types
-
Adding methods
-
Switching on enums
Static Imports
-
Using Static imports
-
Importing Enumerated Type Values
-
When to avoid
Generics
-
Using Generics
-
Defining simple generics
-
Using wild-cards
-
Extending generics
Meta-data (Annotations)
-
Using Standard Annotation types
-
Defining annotation classes
-
Accessing annotations via the introspection APIs
