java005 - 程序开发步骤

开发步骤

  • 1、开发

  • 2、编译

  • 3、运行

hello world案例

使用javac来编译java程序

使用java来运行程序

java HelloWorld实际上使用的是编写的代码中的那个类名,而不是那个HelloWorld.class文件。

分析

添加注释

猜你喜欢

转载自blog.csdn.net/weixin_41829196/article/details/129218846