Java Data Type Tutorial - Java Long MIN_VALUE








Syntax

Long.MIN_VALUE has the following syntax.

public static final long MIN_VALUE

Example

In the following code shows how to use Long.MIN_VALUE field.

public class Main {
  public static void main(String[] args) {
    System.out.println(Long.MIN_VALUE);
  }
}

The output: