Instantly share code, notes, and snippets.

@benjholla /Puzzle9.java Secret
Created Sep 19, 2018

Embed
What would you like to do?
Java Puzzle 9 (spot the bug if one exists)
public class Puzzle9 {
public static void main(String[] args) {
recurse();
}
private static void recurse() {
try {
recurse();
} finally {
recurse();
}
}
}
@benjholla

This comment has been minimized.

Show comment
Hide comment
@benjholla

benjholla Sep 19, 2018

Adapted from Java Puzzlers: Traps, Pitfalls, and Corner Cases - Puzzle #45

Owner

benjholla commented Sep 19, 2018

Adapted from Java Puzzlers: Traps, Pitfalls, and Corner Cases - Puzzle #45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment