Long.MIN_VALUE : Long « java.lang « Java by API






Long.MIN_VALUE

  
 
        

public class Main {
    public static void main(String[] args) {
        System.out.println(Long.MIN_VALUE);
        System.out.println(Long.MAX_VALUE);
    }
}
/*
-9223372036854775808
9223372036854775807
*/

   
    
  








Related examples in the same category

1.Long.MAX_VALUE
2.long.class
3.new Long(String s)
4.new Long(long value)
5.Long: byteValue()
6.Long: doubleValue()
7.Long: floatValue()
8.Long: intValue()
9.Long: longValue()
10.Long: parseLong(String s, int radix)
11.Long: shortValue()
12.Long: toHexString(long i)
13.Long: toString(long i, int radix)
14.Long: valueOf(String stringValue)