Do I have to close FileOutputStream which is wrapped by PrintStream?

前端 未结 5 1734
醉话见心
醉话见心 2020-12-05 07:43

I\'m using FileOutputStream with PrintStream like this:

class PrintStreamDemo {  
    public static void main(String args[]) { 
            


        
5条回答
提交回复
热议问题