📜  java代码示例中的包装类

📅  最后修改于: 2022-03-11 14:52:19.489000             🧑  作者: Mango

代码示例2
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);
    }
}