Last active
December 31, 2015 17:59
-
-
Save TrustNoOne/8023997 to your computer and use it in GitHub Desktop.
Evil quiz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EvilQuiz { | |
// Does this compile? Does it throw something? Does it print something? etc. etc. | |
public static void main(String[] args) throws Exception { | |
System.out.println(ohshieeeee()); | |
} | |
private static long ohshieeeee() { | |
try { | |
throw null; | |
} finally { | |
return (long) +(int) -(char) +(byte) -1; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment