如果将要执行catch块之后的语句,那么java中finally块的真正用途是什么?例
try {
//Code
}
catch (Exception e)
{
//Code
}
finally {
System.out.println("anyway it will be executed");
}
System.out.println("anyway it will be executed");
Run Code Online (Sandbox Code Playgroud)