Java tutorial
import java.io.*; public class Main { public static void main(String[] args) { int x = 123; PrintStream ps = new PrintStream(System.out); // print integer ps.print(x); ps.print(100); // flush the stream ps.flush(); } }