?? util.java
字號(hào):
package book.slider;
import java.io.*;
public class Util {
public static void main(String[] args) {
FileOutputStream os;
try {
os = new FileOutputStream(new File("C:\\output.txt"));
for (int i = 1; i < 200; i++) {
String insert = "INSERT INTO STUDENT VALUES(" + i
+ ",'student " + i + "','class " + i + "');";
byte[] b = insert.getBytes();
os.write(b);
}
os.flush();
if (os != null)
os.close();
} catch (Exception e1) {
e1.printStackTrace();
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -