public class ArgsDemo{
public static void main(String[] args){
int length = args.length;
if(length == 0){
System.out.println("无运行参数");
}
else{
for(int i = 0; i <= args.length; i++){
System.out.println(i);
}
}
}
}