?? temp.txt
字號(hào):
/**
* 拷貝文件 到temp.txt中
*/
import java.io.*;
public class CopyFile{
public static void main(String[] args){
try{
FileInputStream fis= new FileInputStream("CopyFile.java");
FileOutputStream fos = new FileOutputStream("temp.txt");
int read = fis.read();
while(read !=-1){
fos.write(read);
read=fis.read();
}
fis.close();
fos.close();
}catch(IOException e){
System.out.println(e);
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -