📅  最后修改于: 2022-03-11 14:52:19.489000             🧑  作者: Mango
public class CommandLineArguments {
public static void main(String[] args) {
int a = Integer.parseInt(args[0]);
int b = Integer.parseInt(args[1]);
int sum = a + b;
System.out.println("Sum is " + sum);
}
}