Java Specialists' Java Training Europehome of the java specialists' newsletter

Java 5 Tutorial in Norway, 12th Sep 06

Java Quiz

Language    English
Presenter    Dr. Heinz Kabutz
Level    medium-advanced
Date/Time    Sep 12, 09.00 - 17.00
Price    NOK 6000 (€ 756)
Book Now    Click Here

Brought to you as a first at JavaZone 2006, is a special one-day tutorial to take you from Java 1.3/1.4 to Java 5. Essential for software developers who would like to get their hands dirty trying out the new features.

During the tutorial you will have the opportunity to try out these new concepts on your own laptop under the coaching of Dr Heinz Kabutz, author of The Java™ Specialists' Newsletter.

"Immediately shows how to use the new Tiger features
efficiently and how to avoid drawbacks & pitfalls."
Gerhard R. - Alcatel Austria

Is this Tutorial for You?

Do you know what will happen when you try to compile/run this code in Java 5?

import java.util.*;
public class Conference {
  private Collection delegates = new ArrayList();
  public void add(String... names) {
    Collections.addAll(delegates, names);
  }
  public void removeFirst() {
    delegates.remove(0);
  }
  public String toString() {
    return "Conference " + delegates;
  }
  public static void main(String[] args) {
    Conference sun_tech_days = new Conference();
    sun_tech_days.add("Herman", "Bobby", "Robert");
    sun_tech_days.removeFirst();
    System.out.println(sun_tech_days);
  }
}
  1. I give up.
  2. Code fails to compile.
  3. Runtime exception.
  4. Output: Conference [Bobby, Robert]
  5. Output: Conference [[Ljava.lang.String;@86498]
  6. Output: Conference [Herman, Bobby, Robert]
  7. Output: Conference []
Java Master
Java Foundation
Java 5 Tiger
Design Patterns
In-House Courses
What is the Java Specialists Club?

© 2010 Heinz Kabutz - All Rights Reserved Sitemap seo web design Catch22 Marketing
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. JavaSpecialists.eu is not connected to Oracle, Inc. and is not sponsored by Oracle, Inc.