关闭流没有关闭对象,而是释放流所用到的工具,比如管道啥的
InputStream ips=new InputStream("config.properties"):
Properties pros=new properties();
pros.load(ips);
ips.close;
......
InputStream ips=new InputStream("config.properties"):
Properties pros=new properties();
pros.load(ips);
ips.close;
......
