⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 temp.txt

📁 java 的好东西,,开发的基本语言语法教程
💻 TXT
字号:
/**
 * 拷贝文件 到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);
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -