public class Demo1 {? public static void main(String[] args) { for (int i = 0; i < args.length; i++) { System.out.println(args[i]); } }}
JavaSE-命令行传参
原文:https://www.cnblogs.com/hahuhuhaha/p/14817980.html