+ 3
What will happen if you put System.exit(0) on try or catch block? Will finally block execute?
2 odpowiedzi
+ 6
The finally block will not execute if System.exit(0) is called (since the Java VM exits when that statement is called).
+ 2
ok ,thanks.