Java takes you to new places:The lure of write-once/run-anywhere(写一次就可以在所有地方执行) is just too strong.
The Way Java Works
Writing a class with main
Running a program means telling the Java Virtual Machine(JVM) to "Load class, then start executing its main() method. Keep running 'til all the code in main is finished."
syntax
1.Each statement must end in a semicolon.
2.A single-line comment begins with two forward slashes.
3.Most white space doesn't matter.
4.Variables are declared with a name and a type.
5.Classes and methods must be defined within a pair of curly braces.
Command-line invoker: 命令行调用程序
prompt:a sign on a computer screen which shows that the computer has finished one operation and is ready to begin the next.〔计算机屏幕上的〕提示符〔显示计算机已完成某项操作,准备进入下一项〕