Java tutorial
import java.io.*; public class Main { public static void main(String[] args) { PrintStream ps = new PrintStream(System.out); // print a boolean and change line ps.println(true); ps.print("from java2s.com"); // flush the stream ps.flush(); } }