?? writetextprices.java
字號:
import java.io.*;
public class WriteTextPrices
{
public static void main(String[] args)
throws java.io.IOException
{
// set up the basic output stream
FileWriter fw = new FileWriter("prices.txt");
// buffer it for faster output
BufferedWriter bw = new BufferedWriter(fw);
// this provides a set of useful methods
PrintWriter pw = new PrintWriter(bw);
pw.println("Mats 39.95");
pw.println("Bulbs 3.22");
pw.println("Fuses 1.08");
pw.close();
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -