首页 > 试题广场 >

下面代码的输出是什么? Int x =30; int[]

[问答题]
下面代码的输出是什么?
Int x =30; 
int[] numbers = new int[x];
 x = 60; 
System.out.println(”x is " + x);
 System.out.println("The size of numbers is “ + numbers.length);

x is 60; The size of number is 30;
编辑于 2020-05-06 15:08:02 回复(0)
X is 60
发表于 2021-06-23 21:58:35 回复(0)