这个软件有问题吧
String[] subjects =new String[4] ; // 分别为数组中的元素赋值 subjects[0] = "Oracle"; subjects[1] = "PHP"; subjects[2] = "Linux"; subjects[3] = "Java"; subjects[4] = "HTML"; System.out.println("数组中第4个科目为:" + subjects[3] ); 这个有什么错误?
String[] subjects =new String[4] ; // 分别为数组中的元素赋值 subjects[0] = "Oracle"; subjects[1] = "PHP"; subjects[2] = "Linux"; subjects[3] = "Java"; subjects[4] = "HTML"; System.out.println("数组中第4个科目为:" + subjects[3] ); 这个有什么错误?
2017-09-08
举报