麻烦帮改个程序
以下程序有两个错误,麻烦帮忙改一下。
public class hello { public static void main(String[] args) { int[ ] arr=new int[]{8,2,1,0,3}; int[ ] index=new int[] {2,0,3,2,4,0,1,3,2,3,3}; string tel=""; for (int i:index) tel+=arr[i]; } } System.out.println("联系方式:"+tel); }

心生万象,万象皆程序!
本人计算机知识网:http://bbs.为防伸手党,本站已停止会员注册。