Java Get Minimum Integer Value
Tags: Integer
In this Java core tutorial we learn how to get the minimum integer value in Java programming language.
How to get minimum Integer value in Java
In Java, to get the minimum Integer value we can use the Integer.MIN_VALUE constant as the following example Java program.
GetMinIntegerExample.java
public class GetMinIntegerExample {
public static void main(String... args) {
// Get minimum int value
int minInteger = Integer.MIN_VALUE;
System.out.println("Minimum Integer value: " + minInteger);
}
}
Minimum Integer value: -2147483648
Happy Coding 😊