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………..

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

        String String = new String();

        System.out.println(String);
    }
}
No comments J

3 comments:

Anonymous said...

Cool!!!!!!!!!

king said...

answer it plz

Kumar said...

Hi King, Thanks for dropping here. Please let me know your doubt. I'm always happy in explaining this.

Post a Comment

Related Posts Plugin for WordPress, Blogger...