public class E public static void main(String args[]){ int[] a ={1,2,3,4,5,6}; System.out.println(a.length+"hello"+a[5 【代码】
时间: 2023-06-13 07:05:12 浏览: 130
缺少运算符,可以将代码修改为:
public class E {
public static void main(String args[]) {
int[] a = {1,2,3,4,5,6};
System.out.println(a.length + "hello" + a[5]);
}
}
输出结果为:6hello6
阅读全文