import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.PrintWriter;
public class Main {
public static void main(String[] argv) throws Exception {
FileWriter file = new FileWriter("a.html");
BufferedWriter buffer = new BufferedWriter(file);
PrintWriter out = new PrintWriter(buffer);
out.println("<html>\n\t<body>");
out.println("\t</body>\n</html>");
out.close();
buffer.close();
file.close();
}
}
|