?? aboutdata.java
字號:
package threeExam;
import java.io.DataOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
public class AboutData {
public static void main(String[] args) throws IOException {
DataOutputStream outputStream = new DataOutputStream(
new FileOutputStream("d:/abc.txt"));
try {
// char[] unit = { 'e', 'f', 'c' };
// String[] strings = { "你好", "啊", "哈哈" };
String[] strings = { "af", "sdf", "fasf" };
for (String i : strings) {
outputStream.writeChars(i);
}
} finally {
outputStream.close();
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -