UPDATE

上级 5b0ce43e
// 声明一个名为 Main 的类
class Main { class Main {
// 声明一个公有的静态方法,名为 main,该方法是程序的入口
public static void main(String[] args) { public static void main(String[] args) {
// 输出字符串 Hello world!
System.out.println("Hello world!"); System.out.println("Hello world!");
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册