« February 2006 | Main | May 2006 »

April 2006 Archives

April 13, 2006

IDE Support to Solve Java Puzzler

The Java Puzzlers is one of my favorite bed-side books at the moment.  Kudos to Joshua Bloch and Neal Gafter for it.
Recently a colleague told me to write about the JDeveloper 10.1.3 Code Assist feature to solve the Elementary Java Puzzler (thank you Didier).

The Elementary Puzzler

This puzzler is a nice and simple one with a mean tiny detail. Here it is:
public class Elementary {
  public static void main(String[] args) {
    System.out.println(12345 + 5432l);
  }
}

Elementary In JDeveloper 10.1.3

Let's see what JDeveloper has to say about it:
Elementary In JDeveloper 10.1.3:

Oops, that tiny little lowercase L is hard to spot. To be fair, I also tried it with two other popular IDEs. The results speak for themselves.

Elementary In Eclipse 3.1.2

Elementary In Eclipse 3.1.2:

Elementary in Netbeans 5.0

Elementary In Netbeans 5.0:

About April 2006

This page contains all entries posted to Olaf Heimburger's Blog in April 2006. They are listed from oldest to newest.

February 2006 is the previous archive.

May 2006 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle