728x90 new1 gsjava 코딩시 취약점 new로 선언된것은 받드지 해제를 해주어야 한다. FileInputStream fis = null; try{ fis = new FileInputStream("FileStream.txt"); }catch(Exception e){ e.printStackTrace(); }finally{ // 마지막에 FileInputStream과 FileOutputStream을 닫아준다. if(fis != null) try{fis.close();}catch(IOException e){} } 2020. 1. 28. 이전 1 다음 728x90