class P04_long_useL { public static void main(String[] args) { //suffix 'L' is required for 2,223,123,123 System.out.println("Testing: " + 2223123123L); //Testing: 2223123123 long x; x = 2223123123L; System.out.println("x is: " + x); //x is: 2223123123 } } //Note: If "L" is not given, then the digits "2223123123" will be treated as int // type. In such a case you get compilation error because the range of // int type does not support such a big number. // //System.out.println("Testing: " + 2223123123); //Compilation error //x = 2223123123; //Compilation error: The literal 2223123123 of type int is out of range