Java attack - Java IO

 Java IO

 

 

 

 // Why must close it?
/ **
 * First: Let the stream object becomes garbage objects, which can be GC garbage collected, freeing memory
 * Second: In order to data security, closed, and then the data can not be written
 * Third: Notice system to release resources associated with the element
* /

 

 

 

 To be continued

 

Guess you like

Origin www.cnblogs.com/htwdz-qhm/p/12591918.html