java命令行 编译、运行 在cmd中:javac Hello.java 编译 然后运行:java HelloWorld 运行传参数给main的话,就在运行的时候传:java HelloWorld 参数1,参数2.。。。