第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

IO復(fù)制操作時為什么要復(fù)制進(jìn)數(shù)組

IO復(fù)制操作時為什么要復(fù)制進(jìn)數(shù)組

慕移動7208282 2017-11-06 10:42:55
package?com.imooc; import?java.io.FileInputStream; import?java.io.FileNotFoundException; import?java.io.FileOutputStream; import?java.io.IOException; public?class?FlieStreamDemo?{ public?static?void?main(String[]?args)?{ try?{ FileInputStream?fis?=?new?FileInputStream("D:\\Io\\111.txt"); FileOutputStream?fos?=?new?FileOutputStream("D:\\Io\\222.txt"); while((fis.read())!=-1){ fos.write(fis.read()); } System.out.println("成功輸出"); }?catch?(FileNotFoundException?e)?{ e.printStackTrace(); }?catch?(IOException?e)?{ e.printStackTrace(); } }如果我不用數(shù)組裝這個數(shù)據(jù) 發(fā)現(xiàn)一樣可以復(fù)制 而且結(jié)果都是一樣的
查看完整描述

1 回答

?
慕移動7208282

TA貢獻(xiàn)2條經(jīng)驗 獲得超0個贊

為什么一定要傳進(jìn)數(shù)組呢

查看完整回答
反對 回復(fù) 2017-11-06
  • 1 回答
  • 0 關(guān)注
  • 1165 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號