public static void main(String[] arge){
String a;
String[] hobbys = { "sports","game","movie" };
System.out.println("循环输出数组中元素的值:");
for(int j=0;j<= hobbys.length;j++){
a=hobbys[j];
System.out.println(a);
}
}
for(int j=0;j<= hobbys.length;j++) 中j< hobbys.length