Min and Max values of datatype long
public class Main { public static void main(String[] args) { System.out.println(Long.MIN_VALUE); System.out.println(Long.MAX_VALUE); } } /* -9223372036854775808 9223372036854775807 */