📄 file7.java
字号:
import java.io.*;
public class File7{
public static void main(String[] args) throws Exception{
File f=new File("c:\\舅颇邯.txt");
FileInputStream fis=new FileInputStream(f);
int len=(int)f.length();
byte[] b=new byte[len];
fis.read(b);
fis.close();
for(int i=0;i<b.length;i++)
System.out.print((char)b[i]);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -