“Integer.max_Value” Code-Antworten

Java Max Int -Wert

public class Test
{
   public static void main(String[] args)
   {
     System.out.println(Integer.MIN_VALUE);
     System.out.println(Integer.MAX_VALUE);
     System.out.println(Integer.MIN_VALUE - 1);
     System.out.println(Integer.MAX_VALUE + 1);
   }
}
theRealCb

Integer.max_Value

public int x = Integer.MAX_VALUE;

System.out.println(x)

// prints out 2147483647. you can't go over this number
FunnyName

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen