Java tutorial
import java.io.*; public class Main { public static void main(String[] args) { long c = 1234567890L; try { PrintStream ps = new PrintStream(System.out); // print a long and change line ps.println(c); ps.print("from java2s.com"); // flush the stream ps.flush(); } catch (Exception ex) { ex.printStackTrace(); } } }