Skip to content

Instantly share code, notes, and snippets.

@TrustNoOne
Last active December 31, 2015 17:59
Show Gist options
  • Save TrustNoOne/8023997 to your computer and use it in GitHub Desktop.
Save TrustNoOne/8023997 to your computer and use it in GitHub Desktop.
Evil quiz
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