public class Main {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
import java.io.BufferedWriter;
import java.io.OutputStreamWriter;
import java.io.IOException;
public class Main
{
public static void main(String[] args) throws IOException
{
BufferedWriter br = new BufferedWriter(new OutputStreamWriter(System.out));
br.write = ("Hello World!");
br.flush();
br.close();
}
}
BufferedWriter / BufferedReader
flush() 와 close()
https://st-lab.tistory.com/2
https://eastcold.tistory.com/11