补齐代码以生成1-10之间随机的一个数字:int n=(int)(+1);
查看答案
补齐代码以生成’A’-’Z’之间随机的一个字符:char c =(char)(65+);
补齐下面代码:int[] ia={3,1,7,5,2};Arrays.(ia);//对数组ia进行排序(升序)System.out.println(Arrays.(ia));//输出该数组所有元素
What is the result?Correct Answers: ()
A. done
B. one two done
C. one two three done
D. one two three two three done
E. Compilation fails.
What is the result?Correct Answers: ()
A. 0 2 4
B. 0 2 4 5
C. 0 1 2 3 4
D. 编译失败
E. 程序运行时抛出一个异常