请问哪里有问题
public class XiaoYang {
public static void main(String[] args) {
String[] hobbys ={"sports", "game", "movie"};
// String[] hobbys = { "sports", "game", "movie" };
System.out.println("循环输出数组中元素的值:");
for(int a=0;a<hobbys.length;a++);
System.out.println(hobbys[a]);
}