1.键盘录入格式: Scanner sc = new Scanner(System.in); int i = sc.nextInt();//录入整数 字符: Scanner sc1 = new Scanner(System.in); String r = nextLine (); 2.数组复制(导包) int[ ] src = {1,2,3,4,5}; int[ ] desc = new int[10]; System.arraycopy(源数组,源数组复制位置,目标数组,目标数组粘贴位置,源数…