字節流練習

一、複製文件 原理:讀取一個已有的數據,並將這些讀到的數據寫入到另一個文件中。   public class CopyFileTest {     public static void main(String[] args) throws IOException {         //1,明確源和目的。         File srcFile = new File("c:\\YesDir\te
相關文章
相關標籤/搜索