Showing posts with label puzzle. Show all posts
Showing posts with label puzzle. Show all posts

Monday, August 1, 2011

Negative Zero Vs Positive Zero

            Incase if you crossed your SCJP certification, you might aware of negative zero. Otherwise I don’t think we often refer on negative zero in our programming. But it’s one of the strangest stuff within a language.

Friday, July 1, 2011

Confusing split() with String

         I expect this program will really confuse you. Have tried and verified my results.
I was wrong @ 100%. Please have a try.

Wednesday, June 29, 2011

public static void main Here !!!!!!

Here is the fun time with our JVM main thread.

Tuesday, June 28, 2011

Don’t expect the Exceptions


Do you think you can expect the Exceptions? Yes YOU CAN

You too Integer !!!!!!!!

No doubt. You should be one of ‘The One’ if you can answer the output correctly……

Another one from String

class String {

    public static java.lang.String String = "test";

    public static void main(final String args[]) {

        System.out.println(String.String);

    }
}

Do you think it’s legal & executable?    Don’t think that I’m stupid…………….

Monday, June 27, 2011

Java Puzzle

  
       I almost mystified when I was preparing for my java certification. It was with sun by the time.  Try compile and execute this………..
Related Posts Plugin for WordPress, Blogger...