Java tutorial
import java.io.*; public class Main { public static void main(String[] args) { boolean bool = false; PrintStream ps = new PrintStream(System.out); // print boolean ps.print(true); ps.print(bool); // flush the stream ps.flush(); } }