1.javac命令表示编译,将java源文件编译成字节码文件:class;
例如:javac hello.java
将生成hello.class文件
2.java命令表示解释和运行字节码文件:
例如:java hello