“Integer.max_value” Kode Jawaban

Java Max Int Nilai

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

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya