?? exceptiontest5.java.bak
字號:
import java.io.*;
public class ExceptionTest5{
public static void main(String args[]){
FileInputStream fileObj = null;
try{
fileObj = new FileInputStream("readme.txt");
System.out.println("Content of readme.txt is:");
int Len,i =1;
while((Len = fileObj.read())!=-1){
System.out.print("Line "+i+Len);
i = i+1;
}
}catch(FileNotFoundException e){
System.out.println(e);
}catch(IOException e){
System.out.println(e);
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -