/**
* Title: SysOut
* Description: System.out as OutputStream
* "hello" the hard way.
* @author hollingd@cs.rpi.edu
*/
import java.io.*;
public class SysOut{
public static void main(String[] args){
OutputStream stdout = System.out;
try {
stdout.write(104); // h
stdout.write(101); // e
stdout.write(108); // l
stdout.write(108); // l
stdout.write(111); // o
stdout.write(10); // \n
stdout.flush();
} catch ( IOException e) {
e.printStackTrace();
}
}
}