method throws an IOException, then the stream will not be closed (until the garbage collector runs its finalizer).
但是如果 props.load()方法抛出一个IOException,那么流则不会被关闭(直到垃圾收集器运行其终结器)。
method throws an IOException, then the stream will not be closed (until the garbage collector runs its finalizer).
但是如果 props.load()方法抛出一个IOException,那么流则不会被关闭(直到垃圾收集器运行其终结器)。
应用推荐