Please see the following code and explain the output behavior.
public class MyFinalTest { public int doMethod(){ try{ throw new Exce
finally is always executed (the only exception is System.exit()). You can think of this behavior this way:
finally
System.exit()