showstack.java
来自「< ProJavaProgrammingSecondEdition>」· Java 代码 · 共 25 行
JAVA
25 行
import java.io.*;
public class ShowStack {
public static void main(String[] args) throws IOException {
ShowStack ss = new ShowStack();
}
public ShowStack() throws IOException {
initialize();
}
protected void initialize() throws IOException {
readFileData();
}
protected void readFileData() throws IOException {
File f = new File("test.txt");
FileReader fr = new FileReader(f);
BufferedReader br = new BufferedReader(fr);
String line = br.readLine();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?