易百教程

140、finally块可以在没有catch的情况下使用吗?

可以。根据 finally 块的定义,它后面必须跟一个 trycatch 块,因此,可以用 try 块代替 catch