?? filereadersample.java
字號:
import java.io.*;
class FileReadSample{
public static void main(String args[])throws IOException{
FileInputStream in=new FileInputStream("D:\\javaprogram\\out.txt");
int data;
while((data=in.read())!=-1){
System.out.println(data+" ");
}
in.close();
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -