The class Car
{
Public static void main (String [] args)
{System. Out. Println (" please enter the number ");
Scanner sc=new Scanner(System.in);
Int the word=sc. NextInt ();
for (int i=0; i
If (word==Integer. MIN_VALUE)
{
System. The out. Println (Integer) MIN_VALUE [I]);
}
}
}
}
This is me to write some ideas but need array is stuck
CodePudding user response:
Integer.MIN_VALUE=https://bbs.csdn.net/topics/-2147483648, the loop into have to go?CodePudding user response:
You this topic itself has the problem, the Integer MIN_VALUE is final modified constant, is not an array of