//参数,sting与int的转化
public class App {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("参数个数:"+args.length);
int a=0;
for(String arg:args)
{a+=Integer.parseInt(arg);}
System.out.println("参数的和为:"+a);
}
}
多多学习。!!!