« Make JDev 10.1.3 talk to Oracle AS 10.1.2 | Main | New PMD with rule to detect possible J2EE problem »

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:

Comments (1)

Wow :) A feature in JDeveloper I hadn't even noticed (despite the fact that it was probably implemented by the guy who I used to sit in the next cube to).

Nice to see us solidly beating the competition in at least one area ;)

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on April 13, 2006 1:35 PM.

The previous post in this blog was Make JDev 10.1.3 talk to Oracle AS 10.1.2.

The next post in this blog is New PMD with rule to detect possible J2EE problem.

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

Top Tags

Powered by
Movable Type and Oracle