慕勒3428872
:int[] a=new int[数组长度];给你个char数组转换成int数组的程序代码,你看看就知道了。public class Test {public static void main(String[] args){char[] ch = {'3','5','2','4','0','8','1'};int[] toInt = new int[ch.length];for(int i=0;i<ch.length;i++){toInt[i] = Integer.parseInt(String.valueOf(ch[i]));System.out.print(toInt[i]);}}}