public class Cast { public static void main(String[] args) { long l = 100000000000L; int i = (int)l; System.out.println(i); } }