Try with resources analysis in Java 7 — conversion
•
Java
Original address: http://blog.csdn.net/hengyunabc/article/details/18459463
The so-called try with resources is a syntax sugar. In fact, it automatically calls the close () function of the resource. It's similar to the with statement in.
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码