QUESTION:IO流的标准处理异常的代码?
ANWSER:
public class testIO9 {public static void main(String []args) throws IOException {FileInputStream fis=null;FileOutputStream fos=null;try{fis=new FileInputStream("C:\\Users\\ylh31\\Desktop\\应用软件\\节奏 (Tempo)_EXO.mp3");fos=new FileOutputStream("E:\\test3.mp3");int b;while ((b=fis.read())!=-1){fos.write(b);}}finally {try {if (fis!=null)fis.close();}finally {if (fos!=null)fos.close();}}}
}