I ma Singleton
My hood.
Showing posts with label
Java
.
Show all posts
Showing posts with label
Java
.
Show all posts
Wednesday, July 7, 2010
Guess the output.
enum Q {a("enum Q { a(%c%s%c); Q(String t) {System.out.printf(t, 34,t, 34);System.exit(0);}}");Q(String t) {System.out.printf(t, 34, t, 34);System.exit(0);}}
Can you guess what is the output/result of the above program without executing it ? :)
Older Posts
Home
Subscribe to:
Posts (Atom)
Twitter Updates
Twitter Updates
follow me on Twitter