Does finally always execute in Java?

finally will be called.

The only time finally won't be called is: if you call System.exit(), another thread interrupts current one, or if the JVM crashes first.

results matching ""

    No results matching ""