1.定义长度位5的整型数组,输入他们的值,用冒泡排序后输出. Scanner sc = new Scanner(System.in); int[] arr = new int[5]; for (int i = 0; i < arr.length; i++) { System.out.print("请输入第" + (i + 1) + "个值:"); arr[i] = sc.nextInt(); } for (int x = 0; x < arr.lengt…
第六周课堂测试 1.现有以下代码,哪些选项插入到第5行可以通过编译?(BDF) 1.import java.util.*; 2. 3.Class FindStuff { 4.public static void main (String[]args) { 5.//insert code here 6.c.put ("X", 123): 7. } 8.} A .Map c= new SortedMap(); B .HashMap c= new HashMap(); C .HashMap…