MIN_VALUE
public static final int MIN_VALUE
The smallest value of type int. The constant value of this field is -2147483648.--------------------------------------------------------------------------------MAX_VALUE
public static final int MAX_VALUE
The largest value of type int. The constant value of this field is 2147483647.
public static final int MIN_VALUE
The smallest value of type int. The constant value of this field is -2147483648.--------------------------------------------------------------------------------MAX_VALUE
public static final int MAX_VALUE
The largest value of type int. The constant value of this field is 2147483647.
String的理论上限也应该是2147483647个字符。
String 最长好像没什么设定吧!
String没有理论上的长度上限。
int i=0;
while (true)
{i++;
System.out.println(i);
}