class Alhh{
public static void main(String[] args){
String[] names;//数组的声明
int[] scores;
names=new String[]{"黄飞鸿","吕青青","吕跃文"};//数组的静态初始化
scores=new int[3];//数组的动态初始化
scores[0]=98;
scores[1]=99;
scores[2]=97;
System.out.println(names.length);
System.out.println(names.length);
for(int i=0;i<names.length;i++){//遍历数组元素
System.out.println(names[i]);
}
}
}