System.out.println("출력할문자"); public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } }