import java.io.IOException;
import java.io.OutputStream;
public class Out {
public static void main(String[] args) {
//用输出流输出到控制台
OutputStream out=System.out;
byte[] b="Hello Java!".getBytes();
try {
out.write(b, 0, b.length);
out.flush();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}