public
Created

What is the output?

  • Download Gist
hiddenwood_javac_madness.java
Java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
public final class Main {
public static void main(final String[] args) {
while(true) {
try {
System.out.println("1");
continue;
} finally {
System.out.println("2");
break;
}
}
 
System.out.println("3");
}
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.