import java.io.IOException; import java.io.OutputStream; public class HelloWorld { public static void main(String args[]) throws IOException { char hello[] = { 'H', 'e', 'l', 'l', 'o', ',', ' ', 'W', 'o', 'r', 'l', 'd', '!' }; OutputStream myout = System.out; for (int i = 0; i < hello.length; i++) { myout.write(hello[i]); } myout.flush(); } }