?? main.java
字號:
import java.io.*;
class Main {
public static void main(String[] args) {
// Create a pb input stream with buf size of 10
PushbackInputStream in = new PushbackInputStream(System.in, 10);
byte[] buf = {'h', 'e', 'l', 'l', 'o', '\n'};
try {
in.unread(buf);
int c;
// Echo contents of pb stream to standard out.
while ((c=in.read()) >= 0) {
System.out.print((char)c); // hello ...
}
System.out.println();
} catch (IOException e) {}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -